SNBC BTP-R580II Programming Manual page 47

Table of Contents

Advertisement

• n = 1: Transmit printer status
• n = 2: Transmit off-line status
• n = 3: Transmit error status
• n = 4: Transmit paper sensor status
[Notes]
• When the printer receives the command, it returns relative status immediately.
• Even if the printer is set to be disabled by command ESC = (select peripheral device),
this command is still enabled.
• The printer transmits the current status. Each status is represented by one-byte data.
• The printer transmits the status without confirming whether the host computer can
receive data or not.
• The printer executes this command immediately upon receiving it.
• This command is effective to printers with serial interface, nibble parallel interface or
USB interface.
• Printer will execute this command immediately in any status.
n = 1: Printer status
Bit
0
1
2
3
4
5,6
7
n = 2: Off-line status
Bit
0
1
2
3
4
5
6
7
n = 3: Error status
Bit
0/1
HEX
Decimal
0
00
1
02
0
00
1
04
0
00
1
08
1
10
-
-
0
00
0/1
HEX
Decimal
0
00
1
02
0
00
1
04
0
00
1
08
1
10
0
00
1
20
0
00
1
40
0
00
0/1
HEX
Decimal
BTP-R580II Programming Manual
Function
0
Fixed to 0.
2
Fixed to 1.
0
1 or 2 cash drawers are open.
4
2 drawers are closed.
0
On-line.
8
Off-line.
16
Fixed to 1.
-
Undefined.
00
Fixed to 0.
Function
0
Fixed to 0.
2
Fixed to 1.
0
Top cover is closed.
4
Top cover is open.
0
FEED button is not pressed.
8
FEED button is pressed down.
16
Fixed to 1.
0
Paper is not end.
32
Paper is end.
0
No error occurs.
64
Error occurs.
0
Fixed to 0.
Function
- 40 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents