|
| Control codes | Hexadecimal | Function | ||
|
| codes | ||||
|
|
|
| |||
|
| <ESC> “4” | 1B 34 | Select highlight printing | ||
ENGLISH | ||||||
|
|
|
|
| ||
| <ESC> “5” | 1B 35 | Cancel highlight printing | |||
|
| |||||
|
|
|
|
|
| |
|
| <SI> | 0F |
| Inverted printing | |
|
|
|
|
|
| |
|
| <DC2> | 12 |
| Cancel inverted printing | |
|
|
|
|
|
| |
|
| <ESC> “ E” | 1B | 45 | Select emphasized printing | |
| ||||||
|
| <ESC> “ G” | 1B | 47 | ||
|
|
| ||||
|
| <ESC> “ F” | 1B | 46 | Cancel emphasized printing | |
|
| <ESC> “ H” | 1B | 48 | ||
|
|
| ||||
|
|
|
|
|
|
Commands to Set the Page Format
Control codes | Hexadecimal | Function | |||
codes | |||||
|
|
| |||
<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> “l” | n | 1B | 6C n | Set left margin | |
|
|
|
|
| |
<ESC> “Q” | n | 1B | 51 n | Set right margin | |
|
|
|
|
|
Commands to Move the Print Position
Control codes |
| Hexadecimal | Function | ||||
| codes |
| |||||
|
|
|
|
| |||
|
|
|
|
|
|
| |
<LF> |
|
| 0A |
|
| Line feed | |
|
|
|
|
|
|
| |
<CR> |
|
| 0D |
|
| Carriage Return | |
|
|
|
|
|
| ||
<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> “z” <1> |
| 1B | 7A | 01 | |||
|
| ||||||
<ESC> “0” |
|
| 1B | 30 |
| Set line spacing to 3 mm | |
|
|
|
|
|
| ||
<ESC> “J” n |
| 1B | 4A | n | One time n/4 mm feed | ||
|
|
|
|
|
|
| |
<ESC> “j” n |
|
| 1B | 6A | n | One time n/4 mm backfeed | |
|
|
|
|
|
| ||
<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 | |||
|
|
|
|
|
|
|
|
– 9 –