^SN – Serialization Data
What ^SN does
^SN is part of the Layout and Positioning reference. Use it when working with serialization data on compatible Zebra printers. This independent reference focuses on the command shape, configuration inputs, defaults, and the surrounding commands that are commonly used with it.
Syntax
^SNv,n,zParameter quick reference
v = starting value Values: 12-digits maximum for the portion to be indexedDefault: 1n = increment orValues: 12-digit maximumDefault: 1z = add leading zeros (ifValues:N = noY = yesDefault: N
Implementation guidance
- Confirm that the printer model and firmware support the command before deployment.
- Test the smallest valid command first, then add optional parameters one at a time.
- Keep units in printer dots unless the command explicitly defines another unit.
- Verify the result on the target media, because resolution, orientation, and stored settings can change the output.
Troubleshooting
If the printer ignores the instruction, check the command prefix, delimiter characters, firmware support, and whether the command belongs inside a ^XA and ^XZ format. For output commands, also confirm that the field is closed with ^FS where required.
Source note
This independently written page was checked against the Zebra programming guide revision supplied for this project (reference page 341). Zebra, ZPL, and related product names are trademarks of their respective owners.