^SNSerialization Data
^SN configures serialization Data. It applies to the current field and can change pixels in the rendered label.
A representative output
This compact example is selected because the visible result clearly demonstrates ^SN.
Recommended rendered sample
Uses ^SN in a compact label where its visible effect is easy to inspect.
^XA
^PW380
^LL180
^FO35,55^A0N,52,44^SN0001,1,Y^FS
^XZvStarting value
Sets starting value. It can be omitted when the documented default is suitable.
- Default
1- Required
- No
1v variations
Compare values side by side; other parameters remain at representative defaults.
v = 0001
Uses 0001 for starting value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZv = 0099
Uses 0099 for starting value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0099,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZv = 1200
Uses 1200 for starting value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN1200,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZnIncrement or decrement value
Sets increment or decrement value. It can be omitted when the documented default is suitable.
- Default
1 To indicate a decrement value, precede the value with a minus (-) sign- Required
- No
1n variations
Compare values side by side; other parameters remain at representative defaults.
n = 1
Uses 1 for increment or decrement value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZn = 5
Uses 5 for increment or decrement value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,5,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZn = -1
Uses -1 for increment or decrement value while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,-1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZzAdd leading zeros (if needed)
Sets add leading zeros (if needed). It can be omitted when the documented default is suitable.
- Default
N- Required
- No
NYz variations
Compare values side by side; other parameters remain at representative defaults.
z = N
Uses N for add leading zeros (if needed) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,N^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZz = Y
Uses Y for add leading zeros (if needed) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZPrimary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.