ZPL commands
^SN · Serialization Data
Generates a sequential number instead of ^FD that is increased or decreased by the increment on every label of a ^PQ job.
Generates a sequential number instead of ^FD that is increased or decreased by the increment on every label of a ^PQ job.
Parameters
^SNv,n,z- v: Starting value (up to 12 digits)^SNv,n,z- n: Increment (default 1; negative values count down)^SNv,n,z- z: Print leading zeros (Y/N, default N)
Example
^XA
^FO50,50^A0N,30,30^SN0001,1,Y^FS
^PQ5
^XZ
Tip
^SN replaces ^FD in the field. For prefixes or letters in the counter, use ^SF with a mask.