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

Order of Tags Affects FW Tag #262

Open
Ap73MKa opened this issue Jul 4, 2024 · 0 comments
Open

Order of Tags Affects FW Tag #262

Ap73MKa opened this issue Jul 4, 2024 · 0 comments
Labels

Comments

@Ap73MKa
Copy link

Ap73MKa commented Jul 4, 2024

Description

When using different order of tags, the FW tag breaks. If the orientation (FW) is specified first, followed by the block size (FB), the orientation is not considered. Below are examples illustrating the issue.

^XA

^FO20,0 ^FWB ^FB100
^FDBroken order^FS

^FO0,0 ^FB100 ^FWB
^FDNot broken order^FS

^XZ

изображение

However, I noticed that if the code of one text is changed with the code of another text, then everything is repaired. But I only met this in this code.

^XA

^FO0,0 ^FB100 ^FWB
^FDNot broken order^FS

^FO20,0 ^FWB ^FB100
^FDBroken order^FS

^XZ

изображение

Expected Behavior

The FW tag should apply the specified orientation to the text block regardless of the order in which the FW and FB tags are used.

Actual Behavior

The FW tag is ignored if it precedes the FB tag.

Steps to Reproduce

  1. Use the provided first ZPL code.
  2. Observe that the orientation is not applied to the first text block.
@primo-ppcg primo-ppcg added the bug label Jul 5, 2024
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