Select ean-8 bar code (dc4 dc4 esc ! nn 1 pp em), Select ean-13 bar code (dc4 dc4 esc ! nn 2 pp em), Select upc-a bar code (dc4 dc4 esc ! nn 3 pp em) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 49
Control
Hex
Name
DC4 DC4 ESC p
14 14 1B 70
Select Print Quality
Select EAN-8 Bar Code (DC4 DC4 ESC ! NN 1 PP EM)
14
14
1B
21
NN
01
PP
19
This control selects the EAN-8 bar code.
The DATA field must contain only ASCII numeric (0 to 9) data, and must be eight bytes long, check digit
included.
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 EAN-13 Bar Code (DC4 DC4 ESC ! NN 2 PP EM)
14
14
1B
21
NN
02
PP
19
The control selects the EAN-13 bar code.
The DATA field must contain only ASCII numeric (0 to 9) data, and must be thirteen bytes long, check digit
included.
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 UPC-A Bar Code (DC4 DC4 ESC ! NN 3 PP EM)
14
14
1B
21
NN
03
PP
19
The control selects the UPC-A bar code.
The DATA field must contain only ASCII numeric (0 to 9) data, and must be twelve bytes long, including a
system digit at the leftmost position and a check digit at the rightmost position of the data field.
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:
Chapter 1. Personal Printer Data Stream (PPDS)
29