1. Overview..................................................................................................................................................................... 4
1.1 Key terms.......................................................................................................................................................... 4
1.2 Command notation...........................................................................................................................................4
2、Printing command set...............................................................................................................................................5
HT............................................................................................................................................................................ 5
LF.............................................................................................................................................................................5
FF.............................................................................................................................................................................5
CR............................................................................................................................................................................ 5
CAN......................................................................................................................................................................... 6
DLE EOT n................................................................................................................................................................6
ESC FF...................................................................................................................................................................... 7
ESC SP n...................................................................................................................................................................9
ESC ! n..................................................................................................................................................................... 9
ESC $ nL nH........................................................................................................................................................... 10
ESC % n..................................................................................................................................................................10
ESC & y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)]............................................................................................. 10
ESC * m nL nH d1... dk.............................................................................................................................. 11
ESC - n................................................................................................................................................................... 13
ESC 2......................................................................................................................................................................14
ESC 3 n...................................................................................................................................................................14
ESC = n...................................................................................................................................................................14
ESC ? n...................................................................................................................................................................14
ESC @.................................................................................................................................................................... 15
ESC D n1...nk NUL................................................................................................................................................. 15
ESC E n...................................................................................................................................................................15
ESC G n.................................................................................................................................................................. 15
ESC J n................................................................................................................................................................... 16
ESC L......................................................................................................................................................................16
ESC M n................................................................................................................................................................. 16
ESC R n (It just allows to use on machines that provide international Characters)............................................. 17
ESC S......................................................................................................................................................................18
ESC T n.................................................................................................................................................................18
ESC V n................................................................................................................................................................ 19
ESC W xL xH yL yH dxL dxH dyL dyH......................................................................................................................19
ESC \ nL nH............................................................................................................................................................20
ESC a n................................................................................................................................................................. 20
ESC d n...................................................................................................................................................................21
ESC l n X0l X0h Y0l Y0h X1l X1h Y1l Y1h................................................................................................................ 21
ESC t n................................................................................................................................................................... 22
ESC v.................................................................................................................................................................... 23
ESC { n................................................................................................................................................................. 23
FS p n m................................................................................................................................................................24
FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n.................................................................. 25
GS FF......................................................................................................................................................................26
GS ! n....................................................................................................................................................................26
GS $ nL nH...........................................................................................................................................................28
GS * x y d1...d(x × y × 8)........................................................................................................................................ 28
GS / m................................................................................................................................................................... 29
GS B n...................................................................................................................................................................30
GS H n.................................................................................................................................................................. 30
GS L nL nH............................................................................................................................................................. 30
GS W nL nH........................................................................................................................................................... 31
GS \ nL nH............................................................................................................................................................31
GS f n....................................................................................................................................................................32