19 5. Control commands 5.1 Control command table
Control codes Functions Pages
1 HT Horizontal tab 20
2 CR Carriage return 20
3 LF Print and line feed 20
4 FF Page feed 20
5 ESC C n Page length set for n lines 20
6 ESC SP n Character right space set 20
7 ESC ! n Print mode overall set 21
8 ESC % n Down load character set/reset 21
9 ESC & s n m a Dn Down load character definition 21
*10 ESC * m n1 n2 Dn Bit image mode set 24
11 ESC – n Underline set/rest 26
12 ESC 2 1/6 inches line feed set 26
13 ESC 3 n Smallest line feed pitch set 26
14 ESC @ Initialize printer 26
15 ESC D n1 n2 --- NUL Set horizontal tab position 26
16 ESC E n Bold print set/reset 27
17 ESC G n Double strike print set/reset 27
18 ESC J n Print and smallest pitch line feed 27
19 ESC R n Select international character 27
20 ESC c 5 n Feed switch enable/disable 28
21 ESC d n Print and n line feed 28
22 ESC t n Select character code table 28
23 ESC v Send printer status 28
24 ESC { n Inverted character set/reset 29
25 ESC V n Character 90° clockwise rotation set/reset 29
*26 ESC $ n1 n2 Absolute position set 29
27 ESC \ n1 n2 Relative position set 29
28 GS k n Dn NUL Barcode print 30
29 GS w n Barcode width select 30
30 GS h n Barcode height select 30
31 GS H n HRI character print position select 30
32 GS f n HRI character style select 30
33 GS * n1 n2 Dn Download bit image define 31
34 GS / m Download bit image print 31
35 GS : Macro definition start/end 32
36 GS ^ n1 n2 n3 Macro define 32
37 ESC = n Data input control 32
38 ESC a n Position align 33
*39 ESC i Full cut 33
*40 ESC m Partial cut 33
41 ESC c 3 n1 n2 No paper signal sensor select 33
42 ESC r n Compulsory eject 34
43 ESC q S E M QR code print 34
44 GS T n Register NV bit image 36
45 GS P n Print NV bit image 36
46 GS d Dn Download firmware 36
47 GS B n Black/white reverse print set/reset 37
48 ESC h n Presenter eject mode select 37
49 ESC B n Back feed 37
50 DC1 Reset software 37
51 GS % n Partition drive select 38
52 GS ~ n Print density set 38
* Functions differently between printer with standard type driver and Windows type.