Lexmark 2580 用户指南
Bar Code
2-41
Draft document
Barcode Control Flag
The control flag is made up of 8 bits as follows:
Setup Barcode Data
This command sets the barcode data on the current printing position.
Model
Dec
Hex
Vertical Pitch
all barcodes except
Post-Net
Post-Net
a
24 wire (259X)
12
0C
1/180 inch
9 wire (248X)
30
1E
1/72 inch
Model
Dec
Hex
long bar height
short bar height
Post-Net
b
24 wire (259X)
288
120
24/180 inch
8/180 inch
9 wire (248X)
270
10E
18/144 inch
6/144 inch
a. All the input data is rounded to the multiple value shown.
b. Barcode height is fixed to the values shown.
b. Barcode height is fixed to the values shown.
Table 2-21: Barcode Control Flags
Bit
Description
Decimal
Hexadecimal Effect
b1
Check Digit
0
00
No check code is generated by the printer.
The host computer should generate the
check code.
The host computer should generate the
check code.
1
01
Check code is generated automatically by
the printer.
the printer.
b2
Human Readable Character
0
00
Print On
1
01
Print Off
b3
EAN-13 (13th digit), UPC-A
(number system character) flag
character position
(number system character) flag
character position
0
00
Center
1
01
Under
b4-b8
not used
Format
ESC
[
p
n1
n2
d1
d2
Decimal
27
91
112
n1
n2
d1
d2
Hexadecimal 1B
5B
70
n1
n2
d1
d2
Table 2-20: Barcode Length (Continued)
V1, V2 value