Lexmark 249X 用户手册

下载
页码 227
63 
Section 3: IBM Emulation Mode Printer Commands
The variable c denotes the control code. The control is made up of 8 bits            
(b1 - b8). The 8 bits are defined as follows:
b1
Check Digit
b2
Human Readable Character (0: print On, 1: print Off)
b3
EAN-13, UPC-A flag character position (0: Center, 1: Under)
b4 -b8
Not used
Setup Barcode Data
This command sets the barcode data on the current printing position. .
Usage Notes
• 
The printer must receive the ESC [ f  command prior to the ESC [ p com-
mand.
• 
The barcode prints after the printer receives the LF line feed command.
 Command length is denoted by n1 and n2. The following values are valid for 
n1 
and n2 when the automatic check digit generation flag is on and when it is 
off:
Format
ESC [
p
n1
n2
 d1  d2
Decimal
27
91
112 n1
n2
 d1  d2
Hex
1B
5B
70
n1
n2
 d1  d2
Automatic Check Digit Generation Flag Off
n1 (low byte)
n2(high byte)
Barcode Type
Dec
Hex
Dec
Hex
13
0D
0
00
EAN-13
8
08
0
00
EAN-8
1 to 255
01 to FF
0
00
CODE 39
1 to 255
01 to FF
0
00
INTERLEAVED 2 of 5
12
0C
0
00
UPC-A
10
0A
0
00
POST-NET (barcode)
2 to 255
02 to FF
0
00
CODE 128