Specifications
ZPL Commands
^SF
254
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
^SF
Serialization Field (with a Standard ^FD String)
Description The ^SF command allows you to serialize a standard ^FD string. The
maximum size of the mask and increment string is 3K combined.
Format ^SFa,b
This table identifies the parameters for this format:
For characters that do not get incremented, the
% character needs to be added to the increment
string.
Parameters Details
a = mask string
The mask string sets the serialization scheme. The length of the
string mask defines the number of characters in the current
^FD
string to be serialized. The mask is aligned to the characters in the
^FD string starting with the right-mostposition.
Mask String placeholders:
D or d – Decimal numeric 0–9
H or h – Hexadecimal 0–9 plus a-f or A-F
O or o – Octal 0–7
A or a – Alphabetic A–Z or a–z
N or n – Alphanumeric 0–9 plus A–Z or a–z
% – Ignore character or skip
b = increment string
The increment string is the value to be added to the field on each
label. The default value is equivalent to a decimal value of one.
The string is composed of any characters defined in the serial
string. Invalid characters are assumed to be equal to a value of
zero in that characters position.
The increment value for alphabetic strings start with ‘
A’ or ‘a’ as
the zero placeholder. This means to increment an alphabetic
character by one, a value of ‘
B’ or ‘b’ must be in the increment
string.