ESC Dec Hex Symbol Function | ||||
| 27 | 1B | ESC | Escape. Prepares the printer to re- |
|
|
|
| ceive control codes. |
ESC 33 | 21 | ! | Master Select | |
|
|
|
| Selects 1 of 64 unique print mode |
|
|
|
| combinations. Format: |
|
|
|
| ESC “!” n |
|
|
|
| where n stands for a number between |
|
|
|
| 0 and 255. |
ESC | 37 | 25 | % | Activates a character set. |
|
|
|
| ESC “%” 0 0 |
|
|
|
| selects the ROM set, and |
|
|
|
| ESC “%” 1 0 |
|
|
|
| selects the RAM set defined by ESC |
|
|
|
| “&“. |
ESC | 3 8 | 26 | & | Defines user characters in RAM. |
|
|
|
| Format: |
ESC “&” 0 cl c2 a d, . . . d,, The 0 is for future use, c, is the starting character, cz is the ending charac- ter. Both cl and c2 must be between 58 and 63 inclusive. If a>=128, character uses top 8 pins; if a<128, character uses bottom 8 pins. Each character in the range cl- c2 requires an attribute byte (a) and 11 data bytes
If NLQ mode is selected first, the command requires 3 bytes for a. The first, ao, is ignored, the second, a,, is the printing width and values above 12 are ignored. The third, a?, is the value of the right spacing and is automatically adjusted to