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

Issue: Right-Align Text Labels #245

Closed
KlausBenislavskis opened this issue May 27, 2024 · 2 comments · Fixed by #247
Closed

Issue: Right-Align Text Labels #245

KlausBenislavskis opened this issue May 27, 2024 · 2 comments · Fixed by #247

Comments

@KlausBenislavskis
Copy link

Description:
We need to align certain text labels to the right. We remember hearing about the Systems.Drawing replacement not supporting right text alignment directly. Can it be done with the new library?

Current ZPL Code:

^XA
^CF0,25,25
^FO805,716,1
^FDD-B2C^FS
^XZ

Expected
image
What we get gets rendered out of label
image
We can modify the zpl code but would be nice if right alignment works

@primo-ppcg
Copy link
Collaborator

Justification parameter is missing for the following:
^FO
^FT
^FW

primo-ppcg added a commit that referenced this issue May 28, 2024
Add field justification parameter for `^FW`, `^FO`, and `^FT`.

Fixes #245
@KlausBenislavskis
Copy link
Author

@primo-ppcg Hey could we get a new version of the library released with this fix?

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

Successfully merging a pull request may close this issue.

2 participants