Epson￿

Commands￿

￿

Notes

Function

(ASCII, Decimal, Hexadecimal)

 

 

 

Proportional Spacing￿

ASCII: ESC p n￿

See also ESC ! n command.￿

￿

Dec: 27 112 n￿

n=1: Start proportional spacing￿

￿

Hex: 1B 70 n￿

n=0: Stop proportional spacing￿

￿

￿

￿

Select 10 cpi Pitch (Pica)￿

ASCII: ESC P￿

Normally, selects 10 cpi (Pica). In com-

￿

Dec: 27 80￿

pressed mode, selects 17.1 cpi.￿

￿

Hex: 1B 50￿

￿

￿

￿

￿

Select 12 cpi Pitch (Elite)￿

ASCII: ESC M￿

Normally, selects 12 cpi (Elite). In com-

￿

Dec: 27 77￿

pressed mode, selects 20 cpi.￿

￿

Hex: 1B 4D￿

￿

￿

￿

￿

Select 15 cpi Pitch￿

ASCII: ESC g￿

Selects 15 cpi pitch.￿

￿

Dec: 27 103￿

￿

￿

Hex: 1B 67￿

￿

￿

￿

￿

Select Compressed Print￿

ASCII: SI or ESC SI￿

Pitch depends on current pitch selected:￿

￿

Dec: 15 or 27 15￿

10 cpi becomes 17.1 cpi￿

￿

Hex: 0F or 1B 0F￿

12 cpi becomes 20 cpi￿

￿

￿

￿

Cancel Compressed Print￿

ASCII: DC2￿

Cancels 15 cpi print selected by SI or

￿

Dec: 18￿

ESC SI command.￿

￿

Hex: 12￿

￿

￿

￿

￿

Set Character Spacing￿

ASCII: ESC SP n￿

Adds n dots of space (depending on the

￿

Dec: 27 32 n￿

current pitch) between characters.￿

￿

Hex: 1B 20 n￿

n=0 to 127￿

￿

￿

￿

Select horizontal motion

ASCII: ESC c n1 n2￿

Sets the amount of space between char-

index (HMI)￿

Dec: 27 99 n1 n2￿

acters (HMI).￿

￿

Hex: 1B 63 n1 n2￿

HMI= (n1+ [n2 x 256])/ 360 inch.￿

￿

￿

The specification is invalid if HMI ex-

￿

￿

ceeds 3 inches.￿

￿

￿

The command is invalid when n1=n2=0.￿

￿

￿

￿

Select Italic Characters￿

ASCII: ESC 4￿

See also ESC !, ESC 7.￿

￿

Dec: 27 52￿

￿

￿

Hex: 1B 34￿

￿

￿

￿

￿

Cancel Italics

ASCII: ESC 5￿

Clears italic printing engaged by ESC 4

 

Dec: 27 53￿

command.

 

Hex: 1B 53

 

 

 

 

92

Appendix C: Printer Commands