Hex quick reference table for esc/p commands – Epson FX-870/1170 User Manual

Page 74

Advertising
background image

Troubleshooting

Hex Quick Reference Table for ESC/P Commands

Use the table below as an aid to read printer hex dumps. This table is for quick reference only.
The user’s guide contains a detailed description of the control codes.

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

Hex. Dec.

ASCII

Command

07
08

09
OA
OB
o c
OD
OE
OF

11
12
13
14
18

19

20
21
23
24

25
26

28 74
2A
2D
2F
30
31
32
33
34

35
36
37
38

39
3A
3 c

07

BEL

Beeper

08

BS

Backspace

09

HT

Horizontal tab

10

LF

Line feed

11

V T

Vertical tab

12

FF

Form feed

13

CR

Carriage return

14

s o

Select double-width mode (one line)

15

Select condensed mode

17

DC1

Select printer

18

DC2

Cancel condensed mode

19

DC3

Deselect printer

20

DC4

Cancel double-width mode

24

CAN

Cancel line

25

ESC EM n

Turn cut-sheet feeder on/off, select bin, eject sheet

32

ESC SP n

Set intercharacter space

33

E S C ! n

Master select

35

ESC #

Cancel MSB control

36

ESC $ nl n2

Set absolute horizontal print position (n = (nl + n2 x

37

ESC %n

Select user-defined set

38

ESC nn

Define user-defined characters

40 116

E S C ( t n n

Assign character table

42

ESC * mn

Select graphics mode

45

ESC l/O

Turn underlining on/off

47

Select vertical tab channel (c = channel 0 7)

48

ESC 0

Select

line spacing

49

ESC 1

Select

line spacing

50

ESC 2

Select

line spacing

51

Set

line spacing

52

ESC 4

Select italic mode

53

ESC 5

Cancel italic mode

54

ESC 6

Enable printable characters

55

ESC 7

E n a b l e c o n t r o l c o d e s

upper

56

ESC 8

Disable

detection

57

ESC 9

Enable paper-out detection

58

E S C : O n O

Copy ROM to RAM (n = 0 copies Roman; n = 1 copies San

60

ESC

Select unidirectional mode (one line)

E p s o n

3-21

Advertising