CONTROL CODES
STAR mode
Control code Hexadecimal code Function
<ESC> "C" n 1B 43 n Set page length at n lines
<ESC> "R" n 1B 52 n Select international character set.
Default is according to the dip switch
settings 3, 4 and 5.
<ESC> "M" 1B 4D Select 7 × 7(Half dots) character
size(Default setting)
<ESC> "P" 1B 50 Select 9×7(Half dots) character size
<SO> 0E Select expanded character mode
<SI> 0F Select inverted print mode
<DC2> 12 Cancel inverted print mode
<DC4> 14 Cancel expanded character
mode(Default setting)
<ESC> "W" "1"
<ESC> "W" <1> 1B 57 31
1B 57 01 Select expanded character mode
<ESC> "W" "0"
<ESC> "W" <0> 1B 57 30
1B 57 00 Cancel expanded character mode
(Default setting)
<ESC> "4" 1B 34 Red color print selection
<ESC> "5" 1B 35 Red color print deselection
<ESC> "E" 1B 45 Emphasized print mode selection
<ESC> "F" 1B 46 Emphasized print mode deselection
(Default setting)
<ESC> "a" n 1B 61 n Feed paper n lines
<ESC><BEL>n1 n2 1B 07 n1 n2 Adjust drive pulse width for peripheral
unit(Default setting)
<BEL> 07 Deferred drive command "A" for
peripheral unit 1
<FS> 1C Immediate drive command "B" for
peripheral unit 1
<SUB> 1A Immediate drive command for
peripheral unit 2
<EM> 19 Immediate drive command for
peripheral unit 2
<CAN> 18 Cancel print data in buffer
<ESC> "@" 1B 40 Initialize printer
<ESC> "e" "0"
<ESC> "e" <0> 1B 65 30
1B 65 00 FEED switch valid
(Default setting)
<DC3> 13 Set deselect mode
<DC4> 14 Set select mode
<ESC> U n 1B 55 n Set or Cancel uni-direction mode
<ESC> - n 1B 2D n Set or Cancel underline mode
Control code Hexadecimal code Function
<ESC> "e" "1"
<ESC> "e" <1> 1B 65 31
1B 65 01 FEED switch invalid