Confidential BTP-R880NP Programming Manual
- 45 -
Second byte (printer information)
Bit
Off/On
Hex
Decimal
Printer Status
0 - - - Undefined.
1 - - - Undefined.
2 - - - Undefined.
3
Off
00
0
No auto cutter error.
On
08
8
Auto cutter error occurred.
4
Off
00
0
Not used. Fixed to Off.
5
Off
00
0
No recoverable error.
On
20
32
Recoverable error occurred.
6
Off
00
0
No automatically recoverable error.
On
40
64
Automatically recoverable error occurred.
7
Off
00
0
Not used. Fixed to Off.
Bit 5
: If these errors occur due to paper jams or the like, it is possible to recover by correcting
the cause of the error and executing
DLE ENQ n
(1
≤
n
≤
2). If an error due to a main control
board failure (e.g. wire break) occurs, it is impossible to recover.
Bit 6
: When printing is stopped due to high print head temperature until the print head
temperature drops sufficiently.
Third byte (paper sensor information)
Bit
Off/On
Hex
Decimal
Printer Status
0,1
Off
00
0
Paper is not near end
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.