ESC = | n |
|
|
|
|
|
|
|
| ||
[Function] |
| Data Input Control |
|
|
|
|
|
| |||
[Code] |
| <1B>H<3D>H<n> |
|
|
|
|
|
| |||
[Range] |
| {0 ≤ n ≤FF} | Data is described in Hex code. |
|
|
|
|
| |||
[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]
LPRINT "AAAAA" ;
LPRINT CHR$ (&H1B) + "=" + CHR$ (0) ;
LPRINT "aaaaa" + CHR$ (&HA) ;
LPRINT CHR$ (&H1B) + "=" + CHR$ (1) ;
LPRINT "AAAAA" + CHR$ (&HA) ;
[Print Results]
51 | CITIZEN |