Skip to content

fix(serial): move ^SN before ^FD per ZPL spec - #20

Merged
u8array merged 1 commit into
mainfrom
fix/serial-sn-ordering
May 6, 2026
Merged

u8array merged 1 commit into
mainfrom
fix/serial-sn-ordering

Conversation

@u8array

@u8array u8array commented May 6, 2026

Copy link
Copy Markdown
Owner

^SN must precede ^FD within the same field definition, identical to ^SF. Previous output placed ^SN as a standalone command after ^FS, which caused Zebra printers to ignore serialization and print the same value on all copies.

^SN must precede ^FD within the same field definition, identical to ^SF.
Previous output placed ^SN as a standalone command after ^FS, which caused
Zebra printers to ignore serialization and print the same value on all copies.
@u8array
u8array merged commit 8288416 into main May 6, 2026
2 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ZPL command generation in src/registry/serial.tsx by reordering the ^SN and ^FD commands and removing a newline character. I have no feedback to provide as there were no review comments.

@u8array
u8array deleted the fix/serial-sn-ordering branch May 7, 2026 21:23
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

Successfully merging this pull request may close these issues.

1 participant