escpos icon indicating copy to clipboard operation
escpos copied to clipboard

centering the QR code

Open simaybocu opened this issue 1 year ago • 0 comments

printer.QRCode(QrUrl, true, 5, escpos.QRCodeErrorCorrectionLevelH) I want to center the QR code that I created in this way, so I want it to add a space from the left and go a little more to the right, but I could not center it with any method. Is it possible to do this can you help please?

It didn't work even if I used lineSpacing before qr code generation :(

simaybocu avatar May 18 '23 09:05 simaybocu