Control and ESCape Codes by Function
The following control codes are listed briefly for quick reference. For a more detailed expla- nation, see the page reference in Chapter 4Variables are not included in this quick reference due to their complexity For those codes that contain variables, such as ESC Q n for setting the right margin, see Chapter 9.
Printer | Operation/Data | Control |
|
|
|
|
|
|
| ||||||||||||||||
1 |
|
| Code | . | 1 | Dee 1 | Hex | 1 |
|
|
|
| FI |
|
|
| IPa |
|
|
| |||||
I | ESC | @ |
|
| 64 |
| 40 |
|
|
|
|
|
|
|
| Initialize Printer |
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
| DC1 |
|
|
| 17 |
| 11 |
|
|
|
|
|
|
|
| Select Printer |
|
|
|
| |||
|
|
| DC3 |
|
|
| 19 |
| 13 |
|
|
|
|
|
|
|
| Deselect Printer |
|
|
|
| |||
|
|
| DEL |
|
| I127 | ] | 7F |
|
| 1 |
| Delete Character |
|
|
| |||||||||
t |
| ESC | ( |
| I80 |
| I3C |
|
| 1 Select Unidirectional Mode lone line\ |
|
|
| ||||||||||||
t |
| ES&l |
| I85 |
| I55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
1 ESC | EM | 125 |
| 119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| Is12 | I |
| |||||||||
1 |
|
| ESC# |
| I35 | I23 |
| 1 |
| Cancel MSB | Control |
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| BEL |
|
|
| 7 |
| 07 |
|
|
|
|
|
|
|
| Beeper |
|
|
|
|
|
|
|
|
|
| CR |
|
|
| 13 |
| OD |
|
|
|
|
|
| Carriage Return |
|
|
|
|
| ||||
|
|
| CAN |
|
|
| 24 |
| 18 |
|
|
|
|
|
|
|
| Cancel Line |
|
|
|
|
|
|
|
|
| Vertical | Motion/Horizontal |
|
|
|
| Motion |
|
|
|
|
|
|
| ||||||||||
|
|
| FF |
|
| 112 |
| Ioc |
|
|
|
| 1 |
| Form Feed |
|
|
|
|
|
|
| |||
|
|
| ESC C |
|
| I67 |
| I43 |
|
|
|
| I |
| Select Paae Lenath in Lines |
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| t |
| ESC0 |
|
| I48 |
| 130 |
|
|
|
|
| I |
| Select |
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| c+ |
|
| I43 |
| 128 |
|
|
|
|
| 1 Select |
|
|
| ||||||||
|
| t | ESCJ |
|
| I74 |
| I4A |
|
|
|
|
| I Perform | 19.17 |
|
|
| |||||||
|
|
| VT |
|
|
| 11 |
| OB |
|
|
|
|
|
| Tab Vertically |
|
|
|
| |||||
|
|
| ESC B |
|
| 66 |
| 42 |
|
|
|
|
|
| Set Vertical Tabs |
|
|
|
| ||||||
|
|
| ESC b |
|
| 98 |
| 62 |
|
|
|
|
|
| Set Vertical Tabs in Channels |
|
|
|
| ||||||
|
|
| ESC I |
|
| 47 |
| 2F |
|
|
|
|
|
| Select Vertical Tab Channel |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ESC | \ |
|
| I92 |
| 1% | I |
|
| Set Relative | Position | 1920 |
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| HT |
|
| 19 |
| IO9 |
|
|
|
|
| 1 | Tab Horizontally |
|
|
| |||||||
|
|
| ESC | D |
| 168 |
| 144 |
|
|
|
|
| 1 | Set Horizontal Tabs |
|
|
|