ESC v
[Function] | Sends Paper Sensor Status | ||
[Code] | ASCII | ESC | v |
| Hexadecimal | 1B | 76 |
| Decimal | 27 | 118 |
[Outline] | This command sends the status of the paper sensor when it is executed. | ||
[Caution] | The following table describes the status sent. |
•If DTR/DSR control is selected and the memory switch
If the host is not ready (the DSR signal status is Mark), the printer will wait until it will be ready to receive. If XON/XOFF control is selected or the memory switch
•If printing is under way, the printer will sends the then status after printing that line and feeding the paper (the status sending timing differs from ESC u and GS I).
•Since this command is executed at deployment of the reception buffer, there may be a delay between command reception and status sending, depending on the reception buffer condition.
•If ASB is enabled by GS a, it is necessary to distinguish the status by this command from that of ASB. See “6. Interface” for how to distinguish them.
|
| Bit |
| Description |
| Hexadecimal | Decimal |
|
|
|
|
|
|
|
|
|
| 0 |
| BOF sensor with paper |
| 00 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| BOF sensor without paper |
| 01 | 1 |
|
|
|
|
|
|
|
|
|
| 1 |
| TOF sensor with paper |
| 00 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| TOF sensor without paper |
| 02 | 2 |
|
|
|
|
|
|
|
|
|
| 2 |
| Undefined |
| – | – |
|
|
|
|
|
|
|
|
|
| 3 |
| Undefined |
| – | – |
|
|
|
|
|
|
|
|
|
| 4 |
| Unused |
| 00 | 0 |
|
|
|
|
|
|
|
|
|
| 5 |
| Undefined |
| – | – |
|
|
|
|
|
|
|
|
|
| 6 |
| Undefined |
| – | – |
|
|
|
|
|
|
|
|
|
| 7 |
| Unused |
| 00 | 0 |
|
|
|
|
|
|
|
|
[See Also] | DLE EOT, | GS a, 2.3 Paper Specifications and Print Area, | 6. Interface |
|
– 68 –