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

Command codes for QR-Code "version" and "dot size" may be reversed #5

Open
RevZero opened this issue Nov 16, 2021 · 1 comment
Open

Comments

@RevZero
Copy link

RevZero commented Nov 16, 2021

I am currently implementing the VKP80III driver in .NET and noticed, that the command codes for settings the QR code version and the QR code dot size seem to be wrong in the VKP Commands Manual.

Specify QRcode barcode version

1D 28 6B pL pH 31 42 n

Specify dot size of the module of the QRcode barcode

1D 28 6B pL pH 31 43 n

You implemented it according to the manual:

this.write(Buffer.from([0x1D, 0x28, 0x6B, 0x03, 0x00, 0x31, 0x42, 0x0A])) // Set QRCode Version

However, for my VKP80III printer, 0x42 sets the dot size and 0x43 specifies the version. So either my printer firmware is buggy, or the documentation is wrong.

@landg16
Copy link
Owner

landg16 commented Nov 30, 2021

I've not tested every function, but maybe you're right, because last time I've been testing this, some of the functions were not working, maybe documentation was wrong.

Repository owner deleted a comment from tim-tepia Mar 18, 2024
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

2 participants