Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centering the QR code #15

Open
simaybocu opened this issue May 18, 2023 · 0 comments
Open

centering the QR code #15

simaybocu opened this issue May 18, 2023 · 0 comments

Comments

@simaybocu
Copy link

simaybocu commented May 18, 2023

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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant