|
|
|
| Operator’s Guide 185 |
|
|
|
|
|
|
|
| ESC I |
|
| Control Codes/Printable Characters |
|
|
|
|
|
|
|
| ASCII: | ESC | I | (n) |
|
| Control: | CTRL [ | I | (n) |
|
| Decimal: | 27 | 73 | (n) |
|
| Hexadecimal: | 1B | 49 | (n) |
|
Specifies whether the undefined data bytes from 0 to 31 decimal (00 to 1F hexadecimal) and 128 to 159 decimal (80 to 9F hexadecimal) are control codes or printable characters. ESC I does not affect the defined control codes such as BEL, BS, HT, etc. See the chart in Appendix D.
n indicates whether the data byte values are control codes or printable characters as follows:
•n = 0 or 48: Control codes (ignore undefined characters)
•n = 1 or 49: Printable characters
This control sequence works only if you have selected an Epson Character Set.
Example
REM SET AS CONTROL CODES
LPRINT CHR$(27);"I";CHR$(0);
REM SET AS PRINTABLE CHARACTERS
LPRINT CHR$(27);"I"CHR$(1);