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

J being printed as Z in barcode. #16

Open
DawitMengistu opened this issue Oct 29, 2023 · 1 comment
Open

J being printed as Z in barcode. #16

DawitMengistu opened this issue Oct 29, 2023 · 1 comment

Comments

@DawitMengistu
Copy link

barcode.setHRIPosition(BarCode.BarCodeHRIPosition.NotPrinted_Default);
barcode.setJustification(EscPosConst.Justification.Center);
escpos.feed(2);
escpos.write(barcode, "2J2J2J2J2J2J2J2J2J2J");

Here it prints 2Z2Z2Z2Z2Z2Z2Z2Z2Z2Z.

Again with escpos.write(barcode, "2H2I2J2Q2R2S2T"); it prints 2H2I2Z2Q2R2S2T.

@DawitMengistu DawitMengistu changed the title Letter issue when printing 2 & J together. J being printed as Z in barcode. Oct 29, 2023
@DawitMengistu
Copy link
Author

With 1J2J3J4J5J6J7J8J9J0J, the result is 1Z2Z3Z4Z5Z6Z7Z8Z9Z0Z

With JJJJ-ZZZZ-jjjj-zzzz, the result is ZZZZ-ZZZZ-jjjj-zzzz

it seems it's only not working for Capital J.

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