Renamed to Printer Bot

This commit is contained in:
nuttylmao
2025-07-29 08:27:33 +10:00
parent 205b4075d0
commit 0c7b4fc4b9
10 changed files with 2 additions and 2 deletions

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

@@ -65,7 +65,7 @@ client.on('General.Custom', (response) => {
//////////////////// ////////////////////
async function CustomEvent(data) { async function CustomEvent(data) {
if (data.actionName != 'Receipt Printer | Events') if (data.actionName != 'Printer Bot | Events')
return; return;
// Get a reference to the template // Get a reference to the template
@@ -600,7 +600,7 @@ async function CustomEvent(data) {
// Send it to the print routine! // Send it to the print routine!
const receiptHTML = await GetRenderedHTML(instance); const receiptHTML = await GetRenderedHTML(instance);
console.log(receiptHTML); console.log(receiptHTML);
client.doAction({ name: 'Receipt Printer | Print Routine' }, { client.doAction({ name: 'Printer Bot | Print Routine' }, {
receiptHTML: receiptHTML, receiptHTML: receiptHTML,
isTest: data.isTest isTest: data.isTest
}); });