Tag: escpos

Nodejs如何发送P-Touch模板命令到QL-720NW

我只是使用Nodejs发送p-touch模板代码到QL-720NW。 我已经遵循了如何设置p-touch模板的步骤。 此外,我尝试使用tojocky /节点打印机发送命令到打印机。 这是我的代码, var rawData = new Buffer([ 0x1B, 0x69, 0x61, 0x33, // Use p-touch template 0x5E, 0x49, 0x49, // Initialize p-touch template 0x5E, 0x54, 0x53, 0x30, 0x30, 0x31, // Choose template 1 0x5E, 0x46, 0x46 // Start printing ]); printer.printDirect({ data: rawData , printer:'Brother QL-720NW' // printer name, if missing then will […]