ZPL commands
^SF · Serialization Field
Turns a ^FD field into a counter: from the second label of a ^PQ job on, the content is incremented according to the mask and increment.
Turns a ^FD field into a counter: from the second label of a ^PQ job on, the content is incremented according to the mask and increment.
Parameters
^SFa,b- a: Mask that defines which characters are counted: D/d = decimal, H/h = hexadecimal, O/o = octal, A/a = alphabetic, N/n = alphanumeric, % = do not count^SFa,b- b: Increment (default 1)
Example
^XA
^FO50,50^A0N,30,30^FDSN-0001^SF%%%dddd,1^FS
^PQ3
^XZ
Tip
The mask is aligned right to the ^FD content - exclude prefixes such as SN- from counting with %. ^PQ sets the number of labels.