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

QR code drawn on incorrect position #142

Closed
rekonder opened this issue Nov 2, 2022 · 1 comment
Closed

QR code drawn on incorrect position #142

rekonder opened this issue Nov 2, 2022 · 1 comment
Assignees
Labels

Comments

@rekonder
Copy link

rekonder commented Nov 2, 2022

Hi,

I am testing the BinaryKits Viewer label image generator. And I found a problem with the QR code drawing. I used the next ZPL code

^XA
^FT20,122^BQ,2,3
^FH^FDLA,123456789012^FS
^FT111,52^A0N,23,23^FH^FDTest^FS
^XZ

BinaryKits viewer produces the next label:

image

If I use the same ZPL code in the labelary service or try to print on the real label printer I get the next label

image

Looks like the BinaryKits viewer does not use correctly ^FT command before the ^BQ command. In case I change the ^FT command with ^FO in labelary I get the same image as the BinaryKits viewer.

@primo-ppcg primo-ppcg self-assigned this Nov 18, 2022
@primo-ppcg primo-ppcg added the bug label Nov 18, 2022
@primo-ppcg
Copy link
Collaborator

Thanks for the bug report. You're correct that ^FT is not being passed to QR Code elements.

primo-ppcg added a commit that referenced this issue Nov 23, 2022
- Implement `^FT` Positioning (#142)
- Implement Error Correction (#67)
- Add RenderFormat and RenderQuality to DrawerOptions (#141)
primo-ppcg added a commit that referenced this issue Nov 25, 2022
* Add better support for QR Codes

- Implement `^FT` Positioning (#142)
- Implement Error Correction (#67)
- Parse FieldData correctly for Normal Mode and Mixed Mode

* Add RenderFormat and RenderQuality to DrawerOptions (#141)

* Drop QRCoder Dependency

* Fix XML docstrings

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

No branches or pull requests

2 participants