-------------Thermal Printer-------------
44
GS r n (*)
[Name] Transmit status
[Format] ASCII GS r n
Hex 1D 72 n
Decimal 29 114 n
[Range] n = 1, 2, 49, 50
[Details] ·When using a serial interface
When DTR/DSR control is selected, the printer transmits only 1 byte after confirming the host is ready
to receive a data (DSR signal is SPACE). If the host computer is not ready to receive data (DSR signal is
MARK), the printer waits until the host is ready.
When XON/XOFF control is selected, the printer transmits only 1 byte without confirming the condition
of the DSR signal.
This command is executed when the data in the receive buffer is developed. Therefore, there may
be a time lag between receiving this 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 GS r and the ASB
status must be differentiated using the table in Appendix G.
On
01
1
Paper roll near-end sensor: paper near end.
GS v 0 xL xH vL vH d1…dk
[Name] Print raster bit image
[Format] ASCII GS v 0 m xL xH yL yH
d1…dk
Hex 1D 76 30 m xL xH yL yH d1…dk
Decimal 29 118 48 m xL xH yL yH d1…dk
[Range] 0≤m≤3, 48≤m≤51
0≤xL≤255
0≤xH≤255
[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
·
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 roll near-end sensor: paper adequate.
On
03
3
Paper roll near-end sensor: paper near end.
2,3
Off
00
0
Paper roll end sensor: paper adequate.
On
OC
12
Paper roll near-end sensor: paper near end.
4
Off
00
0
Not used. Fixed to Off.
5,6
-
-
-
Undefined.
7
Off
00
0
Not used. Fixed to Off.
Bits 2 and 3: When the paper end sensor detects a paper end, the printer goes offline and does
not execute this command. Therefore, bits 2 and 3 do not transmit the status of paper end.
Bit
Off/On
Hex
Decimal
Status for AS B
0
Off
00
0
Drawer kick-out connector pin 3 is LOW.
1-3
-
-
-
Undefined.
4
Off
00
0
Not used. Fixed to Off.
5,6
-
-
-
Undefined.
7
Off
00
0
Not used. Fixed to Off.
Содержание RP-100-300II
Страница 1: ... Thermal Printer Programmer Manual ...
Страница 12: ... Thermal Printer 11 converted to the maximum automatically ...
Страница 16: ... Thermal Printer 15 ...
Страница 18: ... Thermal Printer 17 When 24 dot bit image is selected ...
Страница 31: ... Thermal Printer 30 ...