Epson￿

Commands￿

￿

Function

(ASCII, Decimal, Hexadecimal) Notes

Stop Enhanced Printing

ASCII: ESC H

Clears double strike printing set by ESC

 

Dec: 27 72

G command.

 

Hex: 1B 48

 

Double Width (Expand-

ASCII: ESC W n

n= 1: Start double width printing

ed) Printing

Dec: 27 87 n

n= 0: Stop double width printing

 

Hex: 1B 57 n

 

Immediate Double Width

ASCII: SO or ESC SO

Prints double width only to end of line:

 

Dec: 14 or 27 14

can also be canceled by DC4, ESC W 0

 

Hex: 0E or 1B oE

and ESC ! commands.

Stop Immediate Double

ASCII: DC4

Only cancels double width set by SO or

Width Printing

Dec: 20

ESC SO.

 

Hex: 14

 

Double Height Printing

ASCII: ESC w n or ESC US n

OKI unique command

 

Dec: 27 119 n or 27 31 n

n= 1: Start double height

 

Hex: 1B 77 n or 1B 1F n

n= 0: Stop double height

Graphics, 8 & 24-pin

Mode

For all graphics commands the number of dot columns of graphic data is as follows: dots= n1 + (n2 x 256)

Graphics Select/ Print

ASCII: ESC * m n1 n2[graphic data]

Selects 8-pin and 24-pin graphic modes

 

Dec: 27 42 m n1 n2[graphic data]

and prints graphic data.

 

Hex: 1B 2A m n1 n2[graphic data]

m= 0: Single density, 8-pin 60 dpi

 

 

m= 1: Double density, 8-pin, 120 dpi

 

 

m= 2: Double speed, double density,

 

 

8-pin, quasi-120 dpi (dots can not be

 

 

printed directly adjacent to one another)

 

 

m= 3: Quadruple density, 8-pin, quasi-

 

 

240 dpi (dots can not be printed directly

 

 

adjacent to one another)

 

 

m= 4: CRT I, 8-pin, 80 dpi

 

 

m= 6: CRT II, 8-pin, 90 dpi

 

 

m= 32: Single density, 24-pin, 60 dpi

 

 

m= 33: Double density, 24-pin, 120 dpi

 

 

m= 38: CRT III, 24-pin, 90 dpi

 

 

m= 39: Triple density, 24-pin, 180 dpi

 

 

m= 40: Hex-density, 24-pin, quasi-360

 

 

dpi (dots can not be printed directly ad-

 

 

jacent to one another)

94

Appendix C: Printer Commands