C O N F I D E N T I A L
GS r
■■ ■■ ■■ moremore
EXECUTING COMMAND
[Name]
[Format]
[Range]
[Default]
[Description]
Transmit status |
|
| |
ASCII | GS | r | n |
Hex | 1D | 72 | n |
Decimal | 29 | 114 | n |
n = 1, 2, 49, 50
None
Transmits the status specified by n, as follows:
nFunction
1, 49 | Transmits paper sensor status |
|
|
2, 50 | Transmits drawer |
[Notes] | ■ The printer transmits the status after confirming the host is ready to receive data. If the host computer is | |||||
| not ready to receive data, the printer waits until the host becomes ready. | |||||
| ■ The status types to be transmitted are shown below: | |||||
| Paper sensor status (n = 1, 49) |
|
| |||
|
|
|
|
|
|
|
| Bit | Off/On | Hex | Decimal | Function |
|
|
|
|
|
|
|
|
| 0 | Off | 00 | 0 | Journal paper |
|
|
|
|
|
|
|
|
|
| On | 01 | 1 | Journal paper |
|
|
|
|
|
|
|
|
| 1 | Off | 00 | 0 | Receipt paper |
|
|
|
|
|
|
|
|
|
| On | 02 | 2 | Receipt paper |
|
|
|
|
|
|
|
|
| 2, 3 | Off | 00 | 0 | Reserved |
|
|
|
|
|
|
|
|
| 4 | Off | 00 | 0 | Fixed |
|
|
|
|
|
|
|
|
Status commands GS r | Ver. 1.0 p. 67 |