Specifications

Table Of Contents
Using Leading Zeros
In the ^SN command, the z parameter determines if leading zeros will be printed or
suppressed. The default value for this parameter is to not print the leading zeros.
Depending on which value is used (Y = Yes, print leading zeros; N = No, do not
print leading zeros) the printer will either print or suppress the leading zeros.
Print Leading Zeros
The starting value consists of the right most consecutive sequence of digits. The
width (number of digits in the sequence) is determined by scanning from right to left
until the first non-digit (space or alpha character) is encountered. To create a specific
width, manually place leading zeros as necessary.
Suppressing Leading Zeros
The starting value consists of the right-most consecutive sequence of digits,
including any leading spaces. The width (number of digits in the sequence) is
determined by scanning from right to left until the first alpha character (except a
space) is encountered. To create a specific width, manually place leading spaces or
zeros as necessary. Suppressed zeros are replaced by spaces. During the serialization
process, when the entire number contains all zeros, the last zero is not suppressed. In
this case a single zero is printed.
The ^SN command replaces the Field Data (^FD) command within a label
formatting program.
ZPL II Programming Guide Volume One: Command Reference for X.10
228