[Description] Transmits the status of connector pin n, using n as follows:
n
0, 48
Connector pin
Drawer
[Notes] |
| • When DTR/DSR control is selected, the printer transmits only 1 | ||||||||
|
|
|
| byte after confirming that the host is ready to receive data (DSR | ||||||
|
|
|
| signal is SPACE). If the host computer is not ready to receive data | ||||||
|
|
|
| (DSR signal is MARK), the printer keeps waiting until the host is | ||||||
|
|
|
| ready. When XON/XOFF control is selected, the printer transmits | ||||||
|
|
|
| only 1 byte without checking the DSR signal. | ||||||
|
|
| • This command is executed when the data is processed in the | |||||||
|
|
|
| receive buffer. Therefore, there may be a time lag between | ||||||
|
|
|
| receiving the command and transmitting the status, depending on | ||||||
|
|
|
| the receive buffer status. |
| |||||
|
|
| • When Auto Status Back (ASB) is enabled using GS a, the status | |||||||
|
|
|
| transmitted by ESC u and the ASB status must be differentiated. | ||||||
|
|
| • When the connector is not used, the value of bit 0 is always 1. | |||||||
|
|
| • The status to be transmitted is shown in the table below. | |||||||
|
|
|
|
|
|
|
|
| ||
Bit |
| Off/On |
| Hex |
| Decimal |
| Function | ||
|
|
|
|
|
|
|
|
|
|
|
0 |
| Off |
|
| 00 |
| 0 |
|
| Level of pin 3 is Low. |
|
|
|
|
|
|
|
|
|
| |
| On |
|
| 01 |
| 1 |
|
| Level of pin 3 is High. | |
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
1 |
| - |
|
| - |
| - |
|
| Undefined. |
|
|
|
|
|
|
|
|
|
|
|
2 |
| - |
|
| - |
| - |
|
| Undefined. |
|
|
|
|
|
|
|
|
|
|
|
3 |
| - |
|
| - |
| - |
|
| Undefined. |
|
|
|
|
|
|
|
|
|
|
|
4 |
| Off |
|
| 00 |
| 0 |
|
| Not used. Fixed to Off. |
|
|
|
|
|
|
|
|
|
|
|
5 |
| - |
|
| - |
| - |
|
| Undefined. |
|
|
|
|
|
|
|
|
|
|
|
6 |
| - |
|
| - |
| - |
|
| Undefined. |
|
|
|
|
|
|
|
|
|
|
|
7 |
| Off |
|
| 00 |
| 0 |
|
| Not used. Fixed to Off. |
|
|
|
|
|
|
| ||||
[Reference] DLE EOT, GS a, GS r |
|
|
| |||||||
ESC v |
|
|
|
|
|
|
|
|
| |
[Name] |
| Transmit paper sensor status |
| |||||||
[Format] |
| ASCII | ESC | V |
| |||||
|
|
| Hex | 1B | 76 |
|
| |||
|
|
| Decimal | 27 |
| 118 |
|
| ||
[Description] | Transmits the current paper sensor status. |