Lexmark 258x Technical Reference page 62

Forms printer
Table of Contents

Advertisement

Draft document
USAGE NOTES
Table 2-22: Barcode Data n1, n2 values
a
n1 (low byte) OFF
Decimal
Hexadecimal
13
0D
8
08
1 to 255
01 to FF
1 to 255
01 to FF
12
0C
10
0A
2 to 255
02 to FF
a. Automatic check digit generation flag is OFF.
b. Automatic check digit generation flag is ON.
c. The value of n2 does not change based on the check digit generation flag status.
The printer must receive the Setup command ESC [ f prior to the ESC [ p
command.
The barcode prints after the printer receives the LF line feed command.
The printer may ignore this command in the following conditions:
– The barcode print area exceeds the left or right margin.
– The barcode print area exceeds the page margin.
– Undefined data is included in the command. In this case, the command
strings defined "n1,n2" are ignored.
n1 and n2 specify:
– n1, n2 show data quantity following ESC [ p n1, n2.
– n1 is a low byte of command length data in hexadecimal.
– n2 is a high byte of command length data in hexadecimal.
– If an undefined value is found in the data string, the printer will ignore all the
received barcode data with a length defined as n1, n2.
– Valid n1, n2 values are listed in the following table:
b
n1 (low byte) ON
Decimal
Hexadecimal
12
0C
7
07
1 to 255
01 to FF
1 to 255
01 to FF
11
0B
9
09
2 to 255
02 to FF
2-42
c
n2 (high byte)
Decimal
Hexadecimal
0
00
0
00
0
00
0
00
0
00
0
00
0
00
Bar Code
Barcode Style
EAN-13
EAN-8
CODE 39
INTERLEAVED 2 of 5
UPC-A
POST-NET
CODE 128

Advertisement

Table of Contents
loading

Table of Contents