Bar Code Commands

(Epson FX, IBM Proprinter III, Okidata Microline Standard)

Select Bar Code Type and Size Command

ASCII

Hexadecimal

Decimal

 

 

 

ESC DLE A p1 n1 ... n8 <data>

1B 10 41 p1 n1 ... n8 <data>

27 16 65 p1 n1 ... n8 <data>

 

 

 

Parameter p1

p1 specifies the subsequent data amount (MSB is ignored).

p 1 = 0, 1, or 3: command is ignored.

p 1 = 2, 4, 5, 6, 7, or 8: command is valid.

p 1 ￿9: data between n1 and n8 are valid, and data from n9 to P1 will be discarded.

Parameters n1 and n2

Parameters n1 and n2 are used to select the bar code type (the upper four bits are ignored).

n1

n2

Bar Code Type

0

1

EAN 8

 

 

 

0

2

EAN 13

 

 

 

1

0

UPC-A

 

 

 

1

4

UPC-E

 

 

 

2

0

Code 39

 

 

 

3

0

Interleaved 2 of 5

 

 

 

4

0

Code 128

Parameters n3 and n4

Parameters n3 and n4 specify the vertical bar code length in 6/72-inch units (the upper four bits are ignored).

Vertical bar code length : [(n3 x 10) + n4] x 6/72-inch.

n 3 = n4 = 0: maintains the current setting.

[(n 3 x 10) + n4] ￿25: sets to 24.

91

Page 91
Image 91
Oki 4410 manual Select Bar Code Type and Size Command