APPENDIX
A. Star Mode Command Summary
Control codes | Hexadecimal codes | Function | |
<ESC> ”R” n | 1B | 52 n | Select international |
|
|
| character set |
<ESC> <GS> t n | 1B | 1D 74n | Select character table |
<ESC> ”/” “1” | 1B | 2F 31 | Select slash zero |
<ESC> ”/” <1> | 1B | 2F 01 |
|
<ESC> ”/” “0” | 1B | 2F 30 | Select normal zero |
<ESC> ”/” <0> | 1B | 2F 00 |
|
<ESC> “b” n1 n2 n3 n4 | 1B | 62 n1 n2 n3 n4 | Select bar code printing |
d1 … dk <RS> | d1 … dk 1E |
| |
|
|
|
|
<ESC> ”M” | 1B | 4D | Select |
<ESC> ”p” | 1B | 70 | Select |
<ESC> ”P” | 1B | 50 | Select |
<ESC> ”:” | 1B | 3A | Select |
<ESC> <SP> n | 1B | 20 n | Set character spacing |
<SO> | 0E |
| Sets the printing magnified |
|
|
| double in character width. |
<DC4> | 14 |
| Resets the printing |
|
|
| magnified in character |
|
|
| width. |
<ESC> “W” n | 1B | 57 n | Sets the magnification rate |
|
|
| in character width. |
<ESC> <SO> | 1B | 0E | Sets the printing magnified |
|
|
| double in character height. |
<ESC> <DC4> | 1B | 14 | Resets the printing |
|
|
| magnified in character |
|
|
| height. |
<ESC> “h” n | 1B | 68 n | Sets the magnification rate |
|
|
| in character height. |
<ESC> | 1B | 2D 31 | Select underlining |
<ESC> | 1B | 2D 01 |
|
<ESC> “_” “1” | 1B | 5F 31 | Select over lining |
<ESC> “_” <1> | 1B | 5F 01 |
|
<ESC> “4” | 1B | 34 | Select highlight printing |
<ESC> “5” | 1B | 35 | Cancel highlight printing |
<SI> | 0F |
| Inverted printing |
<DC2> | 12 |
| Cancel inverted printing |
<ESC> “E” | 1B | 45 | Select emphasized printing |
Control codes | Hexadecimal codes | Function | |
<ESC> “F” | 1B 46 | Cancel emphasized printing | |
<ESC> “C” n | 1B 43 n | Set page length in lines | |
<ESC> “C” <0> n | 1B 43 00 n | Set page length in inches | |
<ESC> “N” n | 1B 4E n | Set bottom margin | |
<ESC> “O” | 1B 4F | Cancel bottom margin | |
<ESC> “I” n | 1B 6C n | Set left margin | |
<ESC> “Q” n | 1B 51 n | Set right margin | |
<LF> | 0A |
| Line Feed |
<ESC> “a” n | 1B | 61 n | Feed paper n lines |
<FF> | 0C |
| Form Feed |
<HT> | 09 |
| Horizontal tab |
<VT> | 0B |
| Vertical tab |
<ESC> “z” “1” | 1B | 7A 31 | Set line spacing to 4 mm |
<ESC> “0” | 1B | 30 | Set line spacing to 3 mm |
<ESC> “J” n | 1B | 4A n | One time n/4 mm feed |
<ESC> “I” n | 1B | 49 n | One time n/8 mm feed |
<ESC> “B” n1 n2…<0> | 1B | 42 n1 n2 … 00 | Set vertical tab stops |
<ESC> “D” n1 n2…<0> | 1B | 44 n1 n2 … 00 | Set horizontal tab stops |
<ESC> <GS> “A” n1 n2 | 1B | 1D 41 n1 n2 | Absolute position setting |
<ESC> <GS> “R” n1 n2 | 1B | 1D 52 n1 n2 | Relative position setting |
<ESC> <GS> “a” n | 1B | 1D 61 n | Alignment |
<ESC> “K” n <0> | 1B | 48 n 00 m1 m2 | Print normal density graphics |
m1 m2 … |
|
|
|
<ESC> “L” n <0> | 1B | 4C n1 n2 m1 m2 | Print high density graphics |
m1 m2 … |
|
|
|
<ESC> “k” n <0> d1 | 1B | 6B n 00 d1 | Print fine density graphics |
<ESC> “X” n1 n2 | 1B | 58 n1 n2 | Print fine density graphics |
<ESC> <FS> “p” n m | 1B | 1C 70 n m | Print NV bit image |
<ESC> “&” ”1” ”1” | 1B | 26 31 31 n | Define download character |
n m1 m2 … m48 | m1 m2 … m48 | ||
<ESC> “&” <1> <1> | 1B | 26 01 01 |
|
n m1 m2 … m48 | n m1 m2 … m48 |
| |
<ESC> “&” ”1” ”0” n | 1B | 26 31 30 n | Delete a download character |
<ESC> “&” <1> <0> n | 1B | 26 01 00 n |
|
<ESC> “%” “1” | 1B | 25 31 | Enable download character set |
<ESC> “%” <1> | 1B | 25 01 |
|
<ESC> “%” “0” | 1B | 25 30 | Disable download character set |
<ESC> “%” <0> | 1B | 25 00 |
|
<ESC> <GS> “*” xy | 1B | 1D 2A 78 79 | Definition of download bit |
|
|
| image |
<ESC> <GS> “/” m | 1B | 1D 2F 6D | Printing of download bit image |
<ESC> <BEL> n1 n2 | 1B | 07 n1 n2 | Define drive pulse width for |
|
|
| peripheral device #1. |
<BEL> | 07 |
| Control peripheral device #1 |
50 | 51 |