Function

ASCII

Decimal

Hexadecimal

Select vertical tab channel

(ESC) /

27 47

1B 2F

Set 1/8-inch line spacing (8 lpi)

(ESC) 0

27 48

1B 30

Set 1/6-inch line spacing (6 lpi)

(ESC) 2

27 50

1B 32

Set n/180-inch line spacing; n=0 to 255

(ESC) 3 n

27 51 n

1B 33 n

Set italic mode

(ESC) 4

27 52

1B 34

Cancel italic mode

(ESC) 5

27 53

1B 35

Expand printable range

(ESC) 6

27 54

1B 36

Cancel printable range expansion

(ESC) 7

27 55

1B 37

Copy ROM font to RAM

(ESC) :

27 58

1B 3A

Set most significant bit (MSB) to 0

(ESC) =

27 61

1B 3D

Set most significant bit (MSB) to 1

(ESC) >

27 62

1B 3E

Reassign image graphics mode

(ESC) ?

27 63

1B 3F

Reset printer settings to the default values

(ESC) @

27 64

1B 40

Set n/60-inch line spacing; n=0 to 127

(ESC) A n

27 65 n

1B 41 n

Set vertical tabs; n1...n16=line numbers for tab stops

(ESC) B n1...n16

27 66 n1...n16

1B 42 n1...n16

Set page length in lines; n=1 to 127

(ESC) C n

27 67 n

1B 43 n

Set page length in inches; n=1 to 17

(ESC) C (NUL) n

27 67 0n

1B 43 00 n

Set horizontal tabs; n1...n32=columns for tab stops

(ESC) D n1...n32

27 68 n1...n32

1B 44 n1...n32

Set emphasized mode (printing in twice the normal dot

(ESC) E

27 69

1B 45

density)

 

 

 

Cancel emphasized mode

(ESC) F

27 70

1B 46

Set double-strike mode

(ESC) G

27 71

1B 47

Cancel double-strike mode

(ESC) H

27 72

1B 48

Perform n/180-inch line feed; n=0 to 255

(ESC) J n

27 74 n

1B 4A n

Set single-density graphics mode

(ESC) K

27 75

1B 4B

Set double-density graphics mode

(ESC) L

27 76

1B 4C

Set 12 cpi mode

(ESC) M

27 77

1B 4D

Set 10 cpi mode

(ESC) P

27 80

1B 50

Set right margin; n=right margin position in characters

(ESC) Q n

27 81 n

1B 51 n

Select international character set; n=country code

(ESC) R n

27 82 n

1B 52 n

Set super/subscript mode; n=0 (Select superscript mode),

(ESC) S n

27 83 n

1B 53 n

1 (Select subscript mode)

 

 

 

Cancel super/subscript mode

(ESC) T

27 84

1B 54

Set/cancel double-wide mode; n=0 (Cancel double-wide

(ESC) W n

27 87 n

1B 57 n

mode), 1 (Start double-wide mode)

 

 

 

Set double-density image graphics mode

(ESC) Y

27 89

1B 59

Set quadruple-density image graphics mode

(ESC) Z

27 90

1B 5A

38