Compuprint 4247-Z03 Programmer Manual User Manual
Page 88
The DATA field for this bar code does not have a defined length, and must contain only the data
characters belonging to the selected ASCII character set, including control characters.
Since GS and EM are control codes, the host application must set the high-order bit of the control code to
allow the printer to distinguish between encodable data and terminator strings.
Human Readable Characters will be centered below the bar code and can be wider than the encoded
area. The user is responsible for allowing space for Human Readable Characters to print without
overlapping adjacent data.
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to
12/6 inch, or 2 inches).
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human
Readable Characters as follows:
00
Do not print human readable characters
01
Print human readable characters
Select POSTNET Bar Code (DC4 DC4 ESC ! NN 24 PP EM)
14
14
1B
21
NN
18
PP
19
This control selects the POSTNET [ZIP, ZIP+4, or Delivery Point Bar Code (DPBC)] bar code.
The DATA field for this bar code must contain only ASCII numeric (0 to 9) data. A data string of all zeroes
will be encoded if other than numeric data is detected in the job stream.
POSTNET bar code does not print Human Readable Characters, regardless of the PP byte. POSTNET
uses the tall and short bars required by the United States Postal Service standard, and encodes numeric
data streams regardless of length.
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to
12/6 inch, or 2 inches).
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human
Readable Characters as follows:
00
Do not print human readable characters
01
Print human readable characters
Print Bar Code Selection (DC4 DC4 ESC ( GS {N1} {DATA1} GS {N2}
{DATA2} EM)
14
14
1B
28
1D
DD...DD
1D
DD...DD
19
This sequence causes the bar code symbol to be printed according to the Bar Code Selection command.
Sequential bar codes of the same type and height may be printed. GS N# defines the distance from the
beginning of the line or between two bar code symbols in multiples of 1/72 of an inch. This command must
be closed with an EM character.
Note: Bar code symbols will print over any descenders in the previous character box if any text is present.
Example 1:
Print an EAN-8 bar code symbol, one inch from the right margin with the data set of 12345678.
68
Programmer Manual