beautypg.com

Citizen Systems iDP-3550 User Manual

Page 101

background image

14.3

ESC/POS Commands

14.3.1 Command List

Command

Function

Code

Page

1

HT

Horizontal tab

09H

92

2

LF

Printing and paper feed

0AH

92

3

CR

Printing

0DH

93

4

ESC (Space) n

Setting thr character right space

1BH 20H n

93

5

ESC ! n

Setting print mode batch

1BH 21H n

94

6

ESC % n

Specifying/Canceling the download character set

1BH 25H n

95

7

ESC & s n m

[a[p] s

×

a]

Defining the download character set

1BH 26H s n m
[a[p]s

×

a] m-n+1

96

8

ESC

m n1 n2

[d] n1 + 256

×

n2

Specifying the bit image mode

1BH 2AH m n1 n2
[d] n1 + 256

×

n2

97

9

ESC 2

Setting the 1/6-inch line feed rate

1BH 32H

98

10

ESC 3 n

Setting the line feed width in minimum pitch
increments

1BH 33H n

98

11

ESC <

NOP

1BH 3CH

12

ESC @

Initializing the printer

1BH 40H

98

13

ESC D [n] k NUL

Setting the Horizontal tab position

1BH 44H [n] k 00H

99

14

ESC J n

NOP

1BH 4AH n

15

ESC R n

Sel ecting the inte rnati onal chara cter set

1BH 52H n

100

16

ESC U n

Specifying/Canceling the unidirectional print mode

1BH 55H n

101

17

ESC c 0 n

NOP

1BH 63H 30H n

18

ESC c 4 n

Selecting the paper near end sensor valid for print
stop

1BH 63H 34H n

102

19

ESC c 5 n

Selecting the panel switch enable/disable

1BH 63H 35H n

102

20

ESC d n

Printing and n-line paper feed

1BH 64H n

103

21

ESC I

Full cut

1BH 69H

103

22

ESC m

Partial cut

1BH 6DH

103

23

ESC p m n1 n2

Specifying the pulse generation

1BH 70H m n1 n2

104

24

ESC r n

Selecting the printing color

1BH 72H n

105

25

ESC t n

Selecting the character code table

1BH 74H n

105

26

ESC u n

Sending the status for peripheral devi ce

1BH 75H n

106

27

ESC v

Sending the printer status

1BH 76H

107

28

ESC { n

Specifying/Canceling the inverted character print

1BH 7BH n

108

29

GS E n

NOP

1DH 45H n

30

ESC

n

Defining the message

1BH 2FH n

108

31

ESC DC3 n

Printing the message

1BH 13H n

109

32

ESC y n

Setting the print lines after paper near end
detection

1BH 79H n

109

33

ESC DC2 n1 n2

Deleting the download character, message, bit
image

1BH 12H n1 n2

110

34

GS

n1 n2

Defining the download bit image

1DH 2AH n1 n2

111

35

GS

m

Printing the download bit image

1DH 2FH m

112