Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Broken QR Code #56

Open
Programmer-AC opened this issue Oct 8, 2020 · 2 comments
Open

Broken QR Code #56

Programmer-AC opened this issue Oct 8, 2020 · 2 comments

Comments

@Programmer-AC
Copy link

Programmer-AC commented Oct 8, 2020

Thank you for providing this great library.
When I try to print the qr_code, the QRCode is broken (see above image)
I tried to remove "baos.write(CTL_LF);" in PrinterService.generateImageByteArrayOutputStream(..) (line 331). Everything work just fine. It is my printer issue or really a bug?

qr_code

@leesiongchan
Copy link
Owner

Could it be the printing width?

@Programmer-AC
Copy link
Author

I think you refer to EscPos.setPrintingSize(EscPos.PRINTING_SIZE_58_MM);
My printer is 58MM and I tested set all 3 size but still get the same problem.

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

No branches or pull requests

2 participants