Epson ESC/P Commands Arranged by Topic

See Chapter 4 for sample graphics programs. Also see the table under ESC * for graphics modes.

ESC K

 

 

Select Singledensity Graph@ Mode

Format:

 

 

 

 

ASCII code:

ESC

K

nl

n2

Decimal:

27

75

nl

n2

Hexadecimal:

1B

4B

nl

n2

Comments:

Turns on eight-pin single-density graphics mode (60 dots per inch). The total number of columns = nl + (n2 x 256).

ESC L

Select Double-density Graphics Mode

Format:

ASCII code: ESC L nl n2

Decimal:27 76 nl n2

Hexadecimal: 1B 4C nl n2

Comments:

Turns on eight-pin low-speed double-density graphics mode (120 dots per inch). The total number of columns = ,$1 4 (n2 x 256).

ESC YSelect High-speed Double-density Graphics Mode

Format:

ASCII code: ESC Y nl n2

Decimal:27 89 nl n2

Hexadecimal: 1B 59 nl d

Comments:

Turns on eight-pin high-speed double-density graphics mode (120 dots per inch). The total number of columns = nl + (n2 x 256).

9-38 Command Summary