Epson Function

ASCII Code

Decimal Code

Hexadecimal Code

 

 

 

 

 

Character Size/Spacing

 

 

 

 

(cont.)

 

27 119 n

1B

77 n

Double Height Printing On

ESC w n

Proportional Spacing On

ESC p 1

27 112 1

1B

70 01

Proportional Spacing Off

ESC p 0

27 112 0

1B

70 00

Set Intercharacter Spacing

ESC SP n

27 32 n

1B

20 n

 

 

 

 

 

Character Style

 

27 40 n

1B

28 n

Select HSD Print Mode *

ESC ( n

Select Utility or NLQ

ESC x n

27 120 n

1B

78 n

Print Mode

 

27 40 85 Pn

1B

28 55 Pn

Select Draft Font

ESC y Pn

Select font by Pitch and

ESC X Pn Lp Hp

27 88 Pn Lp Hp

1B

58 Pn Lp Hp

Point

 

27 107 n

1B

6B n

Select NLQ Type

ESC k n

Composite Command

ESC ! n

27 33 n

1B

21 n

Italics On

ESC 4

27 52

1B

34

Italics Off

ESC 5

27 53

1B

35

Emphasized Printing On

ESC E

27 69

1B

45

Emphasized Printing Off

ESC F

27 70

1B

46

Enhanced Printing On

ESC G

27 71

1B

47

Enhanced Printing Off

ESC H

27 72

1B

48

Underline On

ESC - 1

27 45 1

1B

2D 01

Underline Off

ESC - 0

27 45 0

1B

2D 00

 

 

 

 

 

Custom Characters

ESC & 0 n1 n2 a [data]

27 38 0 n1 n2 a [data]

1B 26 00 n1 n2 a [data]

Down Line Load Custom

Characters

ESC : 0 n 0

27 58 0 n 0

1B

3A 0 n 0

Copy ROM Character Set

to RAM Character Set

ESC % 0

27 37 0

1B

25 00

Custom Character Set On

Custom Character Set Off

ESC % 1

27 37 1

1B

25 01

 

 

 

 

 

Cut Sheet Feeder Control

ESC EM n

27 25 n

1B

19 n

Insert/Eject Paper

 

 

 

 

 

Graphics

ESC K L n Hn [data]

27 75 L n Hn [data]

1B

4B L n Hn [data]

Single Density Graphics

Double Density Graphics

ESC L L n Hn [data]

27 76 L n Hn [data]

1B

4C L n Hn [data]

Double Speed/Double

ESC Y L n Hn [data]

27 89 L n Hn [data]

1B

59 L n Hn [data]

Density Graphics

ESC Z L n Hn [data]

27 90 L n Hn [data]

1B

5A L n Hn [data]

Quadruple Density

Graphics

 

 

 

 

 

 

 

 

 

86

Appendix C: Priner Commands