iDP3221 User’s Manual
GS | r | n |
|
[Function] | Sending status |
| |
[Code] | <1D>H<72>H<n> |
| |
[Range] | 1 ≤ n ≤ 2 |
| |
|
| 49 ≤ n ≤ 50 |
|
[Outline] | Sends the specified status to the host. | ||
|
| n = 1, 49: | Sends the paper detector status. |
|
| n = 2, 50: | Sends the drawer kick connector status. |
[Caution] | • When the serial interface is used: | ||
|
| For DTR/DSR control: | |
|
| The printer sends the status after verifying that the host is ready to receive. If the host is | |
|
| not ready to receive, the printer waits for the host to become ready to receive. |
For XON/OFF control:
The printer sends the status without checking whether the host is ready to receive or busy.
•Because this command is executed when data is mapped in the receive buffer, there may be a delay between receiving the command and sending the status depending on the condition of the receive buffer.
•If ASB (automatic status back) is enabled by GS a, the host must discriminate between the status due to this command and the status due to ASB.
•Paper detector status (n = 1, 49)
Bit | Status | Hex. | Decimal | |
0,1 | Paper found by paper near end detector | 00 | 0 | |
Paper not found by paper near end detector | 03 | 3 | ||
| ||||
2,3 | Paper found by paper end detector | 00 | 0 | |
Paper not found by paper end detector | (0C) | (12) | ||
| ||||
4 | Unused | 00 | 0 | |
5 | Undefined | — | — | |
6 | Undefined | — | — | |
7 | Unused | 00 | 0 |
Bits 2, 3: Whenever the paper end detector detects a offline, and the command is not executed. a status where bit 2 = "1" or bit 3 = "1".
"paper out" state, the printer goes The printer, therefore, never sends
109 | CITIZEN |