iDP3420/3421/3423 User’sMa nual
90 CITIZEN
13.3 ESC/POS Commands13.3.1 Command List
Command Function Code Page
1 HT Horizontal tab 09H 91
2 LF Print ing and paper feed 0AH 91
3 CR Printing 0DH 92
4 ESC" "n Settingthr chara cter right space 1BH 20H n 92
5 ESC! n Settingprint mode batch 1BH 21H n 93
6 ESC % n Specifying/Ca nceling the download char acter set 1BH 25H n 94
7ESC& s n m
[a[p] s ×a] Defining the download cha racter set 1BH 26H s nm
[a[p]a×a] m-n+1 95
8ESC∗mn1n2
[d] n1 + 256 ×n2 Specifyingthe bit imagemode 1BH 2AHm n1 n2
[d] n1+ 256×n2 96
9 ESC2 Settingthe 1/6- inchline feed rate 1BH 32H n 97
10 ESC3 n Setting the line feed width in minimum pitch
increments 1BH33H n 97
11 ESC< NOP 1BH 3CH
12 ESC @ Initializingthe printer 1 BH 40H 97
13 ESC D [n] k NUL Settingthe Horizontal tab position 1BH 44H [n] k 00 98
14 ESCJ n NOP 1BH 4AHn
15 ESC R n Selecting the internationalcharacter set 1BH 52H n 99
16 ESC U n Speci fying/Canceling the unidirectiona l print mode 1BH55 H n 100
17 ESCc 0 n NOP 1BH 63H 30 n
18 ESCc 4 n Selecting the paper near end sensor valid for
printstop 1BH 63H 34H n 101
19 ESCc 5 n Selecting thepanel switch enable/disable 1BH63H 35H n 101
20 ESCd n Printingandn -linepaper feed 1BH64H n 102
21 ESCi Full cut 1BH 69H 102
22 ESCm Partial cut 1BH 6DH 102
23 ESC p m n1 n2 Specifying the pulse generation 1BH 70H m n1 n2 103
24 ESCr n Selecting the printingcolor 1BH 72H n 104
25 ESC t n Selectingthe character code t able 1BH 74H n 104
26 ESC u n Sendi ngthe status for peripheral device 1BH 75H n 10 5
27 ESCv Sendingthe printer status 1BH76H 106
28 ESC { n Spe cifying/Canceling the i nverted character print 1BH7BH n 107
29 GSE n NOP 1DH 45H n
30 ESC⁄nD efining themess age 1 BH 2FH n 107
31 ESCDC3 n Printingthe message 1BH 13H n 108
32 ESCy n Setting the print lines afte r paper near end
detection 1BH79nH 108
33 ESC DC2 n1 n2 Deleting the download character, message, bit
image 1BH12H n1 n2 109
34 GS ∗n1 n2 Defining the download, bit image 1DH 2AH n1 n2 110
35 GS⁄mP rinting the download, bit image 1DH 2FH m 111