Plain English

Automatically increments a number across multiple labels. If you're printing 100 labels with sequential serial numbers, you don't need to send 100 separate labels — just one with ^SN and ^PQ.

When to use

When printing batches of labels with sequential numbers (serial numbers, shelf labels, tickets).

Syntax

^SNstart,step,count

Parameters

ParameterDescription
startStarting value
stepHow much to increment each label
countHow many digits to serialise (from the right)

Example

^XA
^FO50,50^A0N,30,30^FD001^FS
^FO50,50^SN001,1,3
^PQ10
^XZ

Prints 10 labels numbered 001 through 010

Try it in the playground View all ZPL commands