Epson￿

Commands￿

 

￿

 

Notes

 

 

Function

(ASCII, Decimal, Hexadecimal)

 

 

 

 

 

￿

￿

n3, n4 set vertical length of bars: normal

￿

￿

value is ([n

x 10] + n ) (15/ -inch)￿

￿

￿

3

4

180

n5 sets width of modules or black bars,

￿

￿

depending on style engaged.￿

￿

￿

n6 sets spacing￿

 

￿

￿

n7 sets ratio of wide element to narrow

￿

￿

element￿

 

 

￿

￿

n8: Specifies whether or not characters

￿

￿

are to be attached￿

 

￿

￿

n8=0: characters not attached￿

￿

￿

n8=1 or more: LQ characters attached￿

￿

￿

￿

 

 

Print Industrial Bar Code

ASCII: ESC DLE B m n [data]￿

Prints bar code data.￿

 

Data￿

Dec: 27 16 66 m n [data]￿

m=amount of data (in bytes) to follow n

￿

Hex: 1B 10 42 m n [data]￿

specifies Code 128 mode (when Code

￿

￿

128 is selected) as follows: n=65: Set A￿

￿

￿

n=66: Set B￿

 

￿

￿

n=67: Set C￿

 

￿

￿

￿

 

 

Print Postnet Bar Code

ASCII: ESC DLE C n [data]￿

n=amount of data (in bytes) to follow:￿

Data￿

Dec: 27 16 67 n [data]￿

n=1 to 20￿

 

 

￿

Hex: 1B 10 43 n [data]￿

Data consists of single-digit numbers￿

￿

￿

(0 to 9).￿

 

 

￿

￿

￿

 

 

Print Bar Code

ASCII: ESC (B Ln Hn k m S v1 v2 c

Select Barcode type and Print Barcode.￿

 

DATA￿

Ln Hn: number of parameter, number of

 

Dec: 27 40 66 Ln Hn k m S v1 v2 c

parameter=Ln + Hn x 256￿

 

DATA￿

k: Barcode type 00=EAN13, 1=EAN8,

 

Hex: 1B 28 42 Ln Hn k m S v1 v2 c

2=I20f5, 3= UPC-A, 4= UPC-E, 5=Co-

 

DATA

de39, 6= Code128, 7= Postnet￿

 

 

m: module width (black and white bar),

 

 

2= 2 dots, 3= 3 dots, 4= 4 dots, 5= 5

 

 

dots (unit: 1/180")￿

 

 

 

s: adjustment of white bar, FDH=-3,

 

 

FEH=-2, FFH=-1, 00H=0, 01H=+1,

 

 

02H=+2, 03H=+3 (unit: 1/360")￿

 

 

v1, v2: specifies the height, height= ￿

 

 

v1+v2x256 (unit: 15/180")￿

 

 

c: control information￿

 

 

 

bit0 check digit 0: no, 1= yes￿

 

 

bit1 human-readable character 0: yes,

 

 

1= no￿

 

 

 

 

DATA: barcode data

 

 

 

 

 

 

90

Appendix C: Printer Commands