Control codes used for page layout, Control code used for graphics printing, Control codes used for download characters – Star Micronics SP300 Series User Manual
Page 34

– 30 –
Control Codes Used for Page Layout
Control codes
Hexadecimal
Function
Page
codes
<FF>
0C
Page feed (form feed)
37
<ESC> “C” n
1B 43 n
Set page length at n lines
37
<ESC> “C” <0> n
1B 43 00 n
Set page length at n inches
37
<ESC> “B” n1 n2
1B 42 n1 n2
Set vertical tab positions
38
<VT>
0B
Execute vertical tab
38
<ESC> “N” n
1B 4E n
Set bottom margin
38
<ESC> “O”
1B 4F
Cancel bottom margin
39
<ESC> “1” n
1B 6C n
Set left margin
39
<ESC> “Q” n
1B 51 n
Set right margin
39
<ESC> “D” n1 n2
1B 44 n1 n2
Set horizontal tab position
40
<HT>
09
Execute the horizontal tab
40
Control Code Used for Graphics Printing
Control codes
Hexadecimal
Function
Page
codes
<ESC> “1”
1B 31
Set 7/72-inch line feed
41
<ESC> “A” n
1B 41 n
Define n/72-inch line feed
41
<ESC> “2”
1B 32
Set n/72-inch line feed
41
<ESC> “J” n
1B 4A n
One time line feed of n/72-inch
41
<ESC> “z” “0”
1B 7A 30
Set 1/12-inch line feed
41
<ESC> “z” <0>
1B 7A 00
<ESC> “3” n
1B 33 n
Set n/216-inch line feed simulation
42
<ESC> “y” n
1B 79 n
Set n/144-inch line feed (Models with 1/44”
42
-pitch paper feed mechanism only)
<ESC> “K” n1 <0>
1B 4B n1 00
8 dot single density bit image
42
<ESC> “L” n1 n2
1B 4C n1 n2
8 dot double density bit image
44
<ESC> “h” “1”
1B 68 31
Select vertical expanded character mode
45
<ESC> “h” <1>
1B 68 01
<ESC> “h” “0”
1B 68 30
Cancel vertical expanded character mode
45
<ESC> “h” <0>
1B 68 00
Control Codes Used for Download Characters
Control codes
Hexadecimal
Function
Page
codes
<ESC> “&” <0> n1 n2
1B 26 00 n1 n2
Definition of down load characters
46
<ESC> “%” “1”
1B 25 31
Enable download character set
47
<ESC> “%” <1>
1B 25 01
<ESC> “%” “0”
1B 25 30
Disable download character set
47
<ESC> “%” <0>
1B 25 00