User`s manual
Confidential
RS-T80 Programming Manual
- 118 -
On 03 3 Paper near end.
2,3
Off 00 0 Paper present
On 0C 12 Paper end
4 Off 00 0 Not used. Fixed to Off.
5,6 - -
-
Undefined.
7 Off 00 0 Not used. Fixed to Off.
Fourth byte (paper sensor information)
Bit Off/On Hex Decimal Status for ASB
0-3 - -
-
Undefined.
4 Off 00 0 Not used. Fixed to Off.
5,6 - -
-
Undefined.
7 Off 00 0 Not used. Fixed to Off.
GS r n
[Function] Transmit status
[Format] ASCII GS r n
Hex 1D 72 n
Decimal 29 114 n
[Range] n = 1, 2, 49, 50
[Description] Transmits the status specified by n as follows:
n Function
1, 49 Transmits paper sensor status
2, 50 Transmits drawer kick-out connector status
[Notes] · This command is valid for serial, bi-direction parallel and USB printer only,
· This command is executed when the data in the receive buffer is processed.
Therefore, there may be a time lag between receiving this command and
transmitting the status, depending on the receive buffer status.
· The status types to be transmitted are shown below:
Paper sensor status ( n = 1, 49):
Bit Off/On Hex Decimal Status for ASB
0, 1
Off 00 0 Paper near-end sensor: paper adequate
On 03 3 Paper near-end sensor: paper near end
2, 3
Off 00 0 Paper end sensor: paper adequate
On 0c 12 Paper end sensor: paper end
4 Off 00 0 Not used. Fixed to Off
5,6 Undefined
7 Off 00 0 Not used. Fixed to Off
Drawer kick-out connector status ( n = 2, 50):
Bit Off/On Hex Decimal Status for ASB
0
Off 00 0 Drawer kick-out is open
On 01 1 Drawer kick-out is closed