![](/images/new-backgrounds/1192833/19283343x1.webp)
ESC = n
[Function] | Data Input Control |
|
|
| ||
[Code] | <1B>H<3D>H<n> |
|
|
| ||
[Range] | {0 =< n =< FF(Hex)} |
|
|
| ||
[Outline] | Selecting equipment in which data input from the host is effective. |
| ||||
| ¥ Each bit of n indicates as follows: |
|
|
| ||
|
|
|
|
|
|
|
|
| Bit | Equipment | Value |
| |
|
| 0 |
| 1 | ||
|
|
|
|
| ||
|
| 0 | Printer | Invalid |
| Valid |
|
| 1 | Not defined |
|
|
|
|
| 2 | Not defined |
|
|
|
|
| 3 | Not defined |
|
|
|
|
| 4 | Not defined |
|
|
|
|
| 5 | Not defined |
|
|
|
|
| 6 | Not defined |
|
|
|
|
| 7 | Not defined |
|
|
|
¥When the printer has not been selected, this printer abandons all the received data until it is selected by this command.
[Caution] | ¥ Even when the printer has not been selected, it can become BUSY state through |
| printer operation. |
| ¥ When the printer is deselected, this printer discards all the data until it is selected |
| with this command. |
[Default] | The initial value of n is Ò1Ó. |
[Sample Program] |
|
| PRINT #1, “AAAAA”; |
| PRINT #1, CHR$ (&H1B) + “=” + CHR$ (0); |
| PRINT #1, “aaaaa” + CHR$ (&HA); |
| PRINT #1, CHR$ (&H1B) + “=” + CHR$ (1); |
| PRINT #1, “AAAAA” + CHR$ (&HA); |
[Print Results] | A A A A A A A A A A |
| |
| > |
| a a a a a |
Ñ 20 Ñ