ESC v
[Function] | Transmitting the printer status |
|
|
| |
[Code] | <1B>H<76>H |
|
|
| |
[Outline] | Current printer status is transmitted. |
|
|
| |
| Status sent out consists of 1 byte whose content is as in the table below. | ||||
|
|
|
|
|
|
| Bit | Function | Value |
| |
| 0 |
| 1 | ||
|
|
|
| ||
| 0 | Not defined |
|
|
|
| 1 | Not defined |
|
|
|
| 2 | Paper or paper cover | With paper and |
| No paper or |
|
|
| cover closed |
| cover open |
| 3 | Not defined |
|
|
|
| 4 | Not used | Fixed to 0 |
| – |
| 5 | Not defined |
|
|
|
| 6 | Not defined |
|
|
|
| 7 | Not defined |
|
|
|
|
|
|
|
| |
[Caution] | In paper end status, this command may be unreceptible state due to BUSY state. | ||||
[Sample Program] |
|
|
|
|
|
OPEN “COM1:N81NN” AS #1 ;
PRINT #1, CHR$ (&H1B) ; “v” ;
A$ = INPUT$ (1, #1) ;
CLOSE #1
END
— 39 —