TM
CHAP. 7
CONTR…
†These control codes are applicable in serial interface only.
Control Codes |
| Hex Codes | Function |
|
|
HT |
| <09> | Horizontal tab |
| |
LF |
| <0A> | Print and line feed |
| |
CR |
| <0D> | Print and carriage return | ||
ESC SP | • | <1B> <20> “n” | Set right side character spacing | ||
ESC ! | ‚ | <1B> <21> “n” | Set printer mode (Font select) | ||
ESC % |
| <1B> <25> “n” | Set/cancel | the | |
| character set |
|
| ||
|
|
|
|
| |
|
| <1B> <26> “y” “c1” | Define | ||
ESC & | ƒ | “c2” [<x> <d1> … | (max. 10 characters) |
| |
|
|
|
|
| |
ESC * |
| <1B> <2A> “m” “nL” | Select bit image mode | ||
|
| “nH” [<d>]k |
|
|
|
ESC 2 |
| <1B> <32> | Set 1/6 inch line space | ||
ESC 3 |
| <1B> <33> “n” | Set line spacing |
| |
ESC @ |
| <1B> <40> | Initialize printer |
| |
ESC D |
| <1B> <44> [<n>]k | Set horizontal tab positions | ||
| <00> | ||||
|
|
|
|
| |
ESC J |
| <1B> <4A> “n” | Print and feed paper |
| |
ESC R | „ | <1B> <52> | Select an international character | ||
set |
|
| |||
|
|
|
|
| |
ESC U |
| <1B> <55> “n” | Turn | ||
| mode on/off |
|
| ||
|
|
|
|
| |
ESC c 5 |
| <1B> <63> <35> “n” | Enable/disable panel button | ||
|
|
|
|
| |
ESC d |
| <1B> <64> “n” | Print and feed n lines | ||
ESC p |
| <1B> <70> “m” “t1” | Generate | pulse | (peripheral |
| “t2” | device) |
|
| |
|
|
|
| ||
ESC t | … | <1B> <74> | Select character code table | ||
ESC { |
| <1B> <7B> | Turn | ||
| on/off |
|
| ||
|
|
|
|
| |
ESC u | † | <1B> <73> | Transmit peripheral device status | ||
ESC v | † | <1B> <76> | Transmit paper sensor status | ||
ESC = | † | <1B> <3D> “n” | Select peripheral device |
7 - 6