Open fecherwu opened 3 years ago
Using the following code will cause the qrcode to wrap. I want the qrcode to be at the same level. How can I modify it? thanks
device.open(function () { printer .qrimage('https://github.com/song940/node-escpos', { type: 'png', size: 5 }, ) .qrimage('https://github.com/song940/node-escpos', { type: 'png', size: 5 }, function (err) { this.cut(); //this.close(); }); });
This is what I printed out:
I want to print this type of layout:
Using the following code will cause the qrcode to wrap. I want the qrcode to be at the same level. How can I modify it? thanks
device.open(function () { printer .qrimage('https://github.com/song940/node-escpos', { type: 'png', size: 5 }, ) .qrimage('https://github.com/song940/node-escpos', { type: 'png', size: 5 }, function (err) { this.cut(); //this.close(); }); });
This is what I printed out:
I want to print this type of layout: