Troubleshooting

Table 3-10. Hex. Codes for ESC/P Commands (Continued)

 

 

Hex.

Dec.

ASCII

Command

 

 

 

 

 

 

 

 

 

 

3D

61

ESC =

Set MSB to 0

 

 

 

3E

62

ESC >

Set MSB to 1

 

 

 

3 F

63

E S C ? s m

Reassign graphics mode

 

 

40

6 4

ESC @

Initialize printer

 

 

4 1

65

ESCAn

Set n/72-inch line spacing

 

 

42

66

ESC B nn

Set vertical tabs

 

 

43

67

ESC C n (0 n) Set page length in lines (in inches)

 

 

44

68

ESC D nn

Set horizontal tabs

 

 

45

69

ESC E

Select emphasized mode

 

 

46

70

ESC F

Cancel emphasized mode

 

 

47

71

ESC G

Select double-strike mode

 

 

48

72

ESC H

Cancel double-strike mode

 

 

49

73

ESC I n

Printable code area expansion (codes 0 - 31 and 128 - 159, decimal:

 

 

 

4A

74

ESCJn

Perform line feed of n/21 6 inch

 

 

48

7 5

ESC K nl n2

Select single-density graphics mode

 

 

 

4 c

76

ESC L nl n2

Select double-density graphics mode

 

 

 

4D

77

ESC M

Select 12 cpi

 

 

 

4E

78

ESC N n

Set skip over perforation

 

 

 

4 F

79

ESC 0

Cancel skip over perforation

 

 

50

a0

ESC P

Select 10 cpi

 

 

51

81

ESCQn

Set right margin

 

 

52

a2

ESCRn

Select international character set

 

 

53

83

ESC S l/O

Select subscriptlsuperscript mode

 

 

54

84

ESC T

Cancel subscript/superscript mode

 

 

55

85

ESC U l/O

Turn unidirectional mode on/off

 

 

57

87

ESC W l/O

Turn double-width mode on/off

 

 

59

a9

ESC Y nl n2

Select high-speed double-density graphics mode

 

 

 

5A

90

ESC Z nl n2 Select quadrupledensity graphics mode

 

 

 

5 c

92

ESC \ nl n2

Set relative horizontal print position

 

 

 

5E

94

ESC * mn

Select O-pin graphics mode

 

 

61

97

ESCan

Select justification

 

 

62

98

ESC b nn

Set vertical tabs in channels

 

 

 

6B

107

ESC k l/O

Select Sans serii/Roman typeface famify

 

 

 

6 c

108

ESC I n

Set left margin

 

 

70

112

E S C p1 1 0

Turn proportional mode on/off

 

 

73

115

ESC s l/O

Turn half-speed mode on/off

 

 

74

116

ESCtn

Select character table

 

 

77

119

ESCwl/O

Turn double-height mode on/off

 

 

78

120

ESCxllO

Select NLQldraft

 

 

 

7 F

127

DEL

Delete character

 

 

 

 

 

 

 

 

-

-

-

3-22

E p s o n F X - 8 7 0 1 1 1 7 0