
Master Select
Master Select
ASCII Code ESC ! n
| Hex Code | 1B 21 n | 
 | 
 | 
 | ||
| Dec Code | 27 33 n | 
 | 
 | 
 | ||
| Purpose | Selects any combination of several font attributes and | |||||
| 
 | 
 | enhancements by setting or clearing the appropriate bit in the | ||||
| 
 | 
 | n parameter, as shown in the table below: | 
 | |||
| 
 | 
 | Where: | 
 | 
 | 
 | |
| 
 | 
 | 0 <= n <= 255 | 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
 | 
 | |
| Bit | On/Off | Hex | Dec | Function | Equivalent | |
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 0 | 
 | Off | 00 | 0 | Select 10 cpi | ESC P | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 01 | 1 | Select 12 cpi | ESC M | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 1 | 
 | Off | 00 | 0 | Cancels proportional | ESC p 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 02 | 1 | Selects proportional | ESC p 1 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 2 | 
 | Off | 00 | 0 | Cancels condensed | DC2 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 04 | 1 | Selects condensed | SI | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 3 | 
 | Off | 00 | 0 | Cancels bold | ESC F | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 08 | 1 | Selects bold | ESC E | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 4 | 
 | Off | 00 | 0 | Cancels  | ESC H | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 10 | 16 | Selects  | ESC G | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 5 | 
 | Off | 00 | 0 | Cancels  | ESC W 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 20 | 32 | Selects  | ESC W 1 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 6 | 
 | Off | 00 | 0 | Cancels italics | ESC 5 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 40 | 64 | Selects italics | ESC 4 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 7 | 
 | Off | 00 | 0 | Cancel underline | ESC - 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | On | 80 | 128 | Selects underline | ESC - 1 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Comment This command cancels any attributes or enhancements that are not selected.
47
