Epson Function

ASCII Code

Decimal Code

Hexadecimal Code

 

 

 

 

 

Vertical Control (cont.)

 

 

 

 

Set Line Spacing to n/ "

ESC 3 n

27 51 n

1B

33 n

216

VT

11

0B

 

Vertical Tab

 

Set Vertical Tab Stops

ESC B n1 n2 nk 0

27 66 n1 n2 nk 0

1B

42 n1 n2 nk 00

Line feed compound

ESC DLE H Pno A1 A2

27 16 72 Pno A1 A2

1B

10 48 Pno A1 A2

command

P1 P2 P3

P1 P2 P3

P1 P2 P3

Reset Vertical Tab to

ESC B 0

27 66 0

1B

42 00

Defaults

ESC b m n1 n2 nk 0

27 98 m n1 n2 nk

 

62 m n1 n2 nk 0

Set Vertical Format Unit

1B

(VFU)

 

0

 

 

Set Vertical Tab Channel

ESC/n

27 47 n

1B

2Fn

Set Basic Unit

ESC ( U Ln Hn Pn

27 40 85 Ln Hn Pn

1B

28 55 Ln Hn Pn

Set Page Length in

ESC ( C Ln Hn Lp Hp

27 40 67 C Ln Hn

1B

28 43 C Ln Hn Lp

Defined Unit

 

Lp Hp

Hp

Set Page Format

ESC ( c Ln Hn Lt Ht Lb

27 40 99 Ln Hn Lt

1B

28 63 Ln Hn Lt

 

Hb

Ht Lb Hb

Ht Lb Hb

 

 

 

 

 

Miscellaneous

CAN

24

18

 

Cancel

 

Change Emulation *

ESC { n

27 123 n

1B

7B n

Delete One Character

DEL

127

7F

 

Initialize Printer

ESC @

27 64

1B

40

Half-Speed Printing On

ESC s 1

27 115 1

1B

73 0

Half-Speed Printing Off

ESC s 0

27 115 0

1B

73 00

Paper-Out Sensor On *

ESC 9

27 57

1B

39

Paper-Out Sensor Off *

ESC 8

27 56

1B

38

Print Suppress Mode On

DC3

19

13

 

Print Suppress Mode Off

DC1

17

11

 

Set Most Significant Bit to

ESC =

27 61

1B

3D

Zero

ESC >

27 62

1B

3E

Set Most Significant Bit to

One

ESC i n

27 105 n

1B

69 n

Incremental print mode

On, Off

ESC #

27 35

1B

23

Cancel Most Significant

Bit Control

ESC } 0

27 125 0

1B

7D 00

Software I-Prime *

 

 

 

 

 

Justification

ESC a 0

27 97 0

1B

61 00

Left Justification

Center Justification

ESC a 1

27 97 1

1B

61 01

Right Justification

ESC a 2

27 97 2

1B

61 02

Within Line Justification

ESC a 3

27 97 3

1B

61 03

 

 

 

 

 

* OKI-Unique Command

88

Appendix C: Priner Commands