Chamaloriz
Chamaloriz
let encoder = new EscPosEncoder(); let result = encoder .initialize() .text("HelloWorld") .newline() .qrcode('HelloWorld') .encode(); const { Buffer } = require('buffer'); BluetoothSerial.write(Buffer.from(result.buffer))
### I found how to :p spent 2 Days let encoder = new EscPosEncoder(); let result = encoder .initialize() .text("HelloWorld") .newline() .qrcode('HelloWorld') .encode(); const { Buffer } = require('buffer'); BluetoothSerial.write(Buffer.from(result.buffer))
### I found how to :p spent 2 Days basically the array wasn't showing as a uint8array but as a typedArray Buffer.from() fixed it let encoder = new EscPosEncoder(); let...
let encoder = new EscPosEncoder(); let result = encoder .initialize() .text("HelloWorld") .newline() .qrcode('HelloWorld') .encode(); const { Buffer } = require('buffer'); BluetoothSerial.write(Buffer.from(result.buffer))