beautypg.com

3 esc/pos commands, 1 command list – Citizen Systems iDP3420 User Manual

Page 106

background image

iDP3420/3421/3423 User’s Manual

90

CITIZEN

13.3

ESC/POS Commands

13.3.1 Command List

Command

Function

Code

Page

1

HT

Horizontal tab

09H

91

2

LF

Printing and paper feed

0AH

91

3

CR

Printing

0DH

92

4

ESC " " n

Setting thr character right space

1BH 20H n

92

5

ESC !

n

Setting print mode batch

1BH 21H n

93

6

ESC % n

Specifying/Canceling the download character set

1BH 25H n

94

7

ESC & s n m

[a[p] s

×

a]

Defining the download character set

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

×

a] m-n+1

95

8

ESC

m n1 n2

[d] n1 + 256

×

n2

Specifying the bit image mode

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

×

n2

96

9

ESC 2

Setting the 1/6-inch line feed rate

1BH 32H n

97

10

ESC 3 n

Setting the line feed width in minimum pitch
increments

1BH 33H n

97

11

ESC <

NOP

1BH 3CH

12

ESC @

Initializing the printer

1BH 40H

97

13

ESC D [n] k NUL

Setting the Horizontal tab position

1BH 44H [n] k 00

98

14

ESC J n

NOP

1BH 4AH n

15

ESC R n

Selecting the international character set

1BH 52H n

99

16

ESC U n

Specifying/Canceling the unidirectional print mode

1BH 55H n

100

17

ESC c 0 n

NOP

1BH 63H 30 n

18

ESC c 4 n

Selecting the paper near end sensor

valid for

print stop

1BH 63H 34H n

101

19

ESC c 5 n

Selecting the panel switch enable/disable

1BH 63H 35H n

101

20

ESC d n

Printing and n-line paper feed

1BH 64H n

102

21

ESC i

Full cut

1BH 69H

102

22

ESC m

Partial cut

1BH 6DH

102

23

ESC p m n1 n2

Specifying the pulse generation

1BH 70H m n1 n2

103

24

ESC r n

Selecting the printing color

1BH 72H n

104

25

ESC t n

Selecting the character code table

1BH 74H n

104

26

ESC u n

Sending the status for peripheral device

1BH 75H n

105

27

ESC v

Sending the printer status

1BH 76H

106

28

ESC { n

Specifying/Canceling the inverted character print

1BH 7BH n

107

29

GS E n

NOP

1DH 45H n

30

ESC

n

Defining the message

1BH 2FH n

107

31

ESC DC3 n

Printing the message

1BH 13H n

108

32

ESC y n

Setting the print lines after paper near end
detection

1BH 79nH

108

33

ESC DC2 n1 n2

Deleting the download character, message, bit
image

1BH 12H n1 n2

109

34

GS

n1 n2

Defining the download, bit image

1DH 2AH n1 n2

110

35

GS

m

Printing the download, bit image

1DH 2FH m

111