– 19 –
Character Code List
Character Code Function
1 LF (0A)H Print and line feed instruction
2 CR (0D)H Print and line feed instruction
(same as LF)
3 SO (0E)H Expanded character instruction
4 DC4 (14)H Expanded character release
5 ESC-1 (1B)H (2D)H(01)H Underline instruction
(1B)H (2D)H (31)H
6 ESC-0 (1B)H (2D)H(00)H Underline release
(1B)H (2D)H (30)H
7 SI (0F)H Inverted print instruction
8 DC2 (12)H Inverted print release
9 ESC E (1B)H (45)H Emphasized print instruction
(one-way printing)
10 ESC F (1B)H (46)H Emphasized print release
11 ESC 4 (1B)H (34)H Red character print instruction
12 ESC 5 (1B)H (35)H Red character print release
13 ESC a n (1B)H (61)H n n-line feed instruction
14 ESC C n (1B)H (43)H n Sets page length in lines
1 n 120 (default n = 42)
15 ESC N n (1B)H (4E)H n Set bottom margin in lines
0 n 120 (default n = 0)
16 ESC O (1B)H (4F)H Cancel Bottom margin
17 FF (0C)H Form feed
18 ESC @ (1B)H (40)H Printer initialization instruction
19 ESC BEL (1B)H (07)H Set peripheral unit drive pulse duration
n1 n2 n1 n21 n1 127, 1 n2 127
(default n1 = n2 = 20)
20 BEL (07)H Trigger peripheral unit drive (Deferred)
21 FS (1C)H Trigger peripheral unit drive
(Immediate)
22 ENQ (05)H Enquiry
23 STX (02)H Start of text enter STX-ETX mode
24 ETX (03)H End of text end STX-ETX mode
25 CAN (18)H Clears print buffer
26 ESC P (1B)H (50)H Select 10 CPI
27 ESC M (1B)H (4D)H Select 15 CPI (Default value)
28 GS (1D)H Validation printing instruction