2. ESC/POS Mode Commands
The following table lists the
2-1. Control Codes List
Control | Hexadecimal | Function | TM- | TM- | |
Codes | Codes |
| U200 | U300 | |
|
|
|
|
|
|
<HT> | 09 |
| Horizontal tab | OK | OK |
<LF> | 0A |
| Line feed | OK | OK |
<CR> | 0D |
| Prints and carriage return | OK | OK |
|
|
|
|
| |
<DLE> <EOT> | 10 04 | Enables | OK |
| |
|
|
|
|
| |
<DLE> <ENQ> | 10 05 | OK |
| ||
|
|
|
|
|
|
<ESC> SP | 1B | 20 | Sets size of space to right of character | OK | OK |
<ESC> ! | 1B | 21 | Enables batch print mode | OK | OK |
<ESC> # | 1B | 23 | Sets memory switch |
|
|
|
|
|
|
|
|
<ESC> % | 1B | 25 | Enables/disables download | OK | OK |
|
|
| character set |
|
|
|
|
|
|
|
|
<ESC> & | 1B | 26 | Defines download character | OK | OK |
|
|
|
|
|
|
<ESC> * | 1B | 2A | Selects bit image mode | OK | OK |
<ESC> - | 1B | 2D | Selects/cancels underlining | OK | OK |
|
|
|
|
|
|
<ESC> 2 | 1B | 32 | Selects | OK | OK |
|
|
|
|
|
|
<ESC> 3 | 1B | 33 | Selects | OK | OK |
|
|
|
|
|
|
<ESC> = | 1B | 3D | Selects peripheral device | OK |
|
<ESC> ? | 1B | 3F | Cancels download character | OK | OK |
<ESC> @ | 1B | 40 | Initializes the printer | OK | OK |
|
|
|
|
|
|
<ESC> D | 1B | 44 | Sets horizontal tab position | OK | OK |
|
|
|
|
|
|
<ESC> E | 1B | 45 | Enables/disables emphasized mode | OK | OK |
|
|
|
|
|
|
<ESC> G | 1B | 47 | Enables/disables | OK | OK |
<ESC> J | 1B | 4A | Prints and | OK | OK |
<ESC> K | 1B | 4B | Prints and | OK | OK |
48