Confidential BTP-R880NP Programming Manual
- 44 -
1
0C
12
Paper near end status
4
1
10
16
Not used. Fixed to 1
5,6
0 00 0 Paper
present
1 60 96 Paper
end
7
0
00
0
Not used. Fixed to 0
Please avoid to insert this command between 2 or more byte command.
For Example
:
In the process of sending
ESC 3 n
to printer, DTR become to MARK(DSR is used to host)
before sending n and
DLE EOT 3
interrupted before receiving n, then the printer take
code
<10>H
of
DLE EOT 3
as code
<10>H
of
ESC 3.
[Reference]
DLE ENQ, GS a, GS r
GS a n
[Function]
Enable/Disable Automatic Status Back (ASB)
[Format]
ASCII GS a n
Hex
1D 61 n
Decimal 29 97 n
[Range]
0
≤
n
≤
255
[Notes]
Enables or disables ASB and specifies the status items to include. The return information
are as follows:
· When n is not equal to 0, the printer automatically transmits the status whenever the
enabled status item changes.
· When n is equal to 0, the ASB function is ineffective.
· The following four status bytes are transmitted without confirming whether the host is
ready to receive data.
· This command is executed with other command in turns, so there will have some time
delay between sending command and setting ASB is available.
· Even the printer is disabled by ESC = (Select peripheral device), the four status bytes
are transmitted whenever the status changes.
First byte(Printer information)
Bit
Off/On
Hex
Decimal
Printer status
0
Off
00
0
Not used. Fixed to 0.
1
Off
00
0
Not used. Fixed to 0.
2
Off
00
0
Drawer kick-out connector pin 3 is LOW.
On
04
4
Drawer kick-out connector pin 3 is HIGH.
3
Off 00
0 On-line.
On 08
8 Off-line.
4
On
10
16
Not used. Fixed to 1.
5
Off
00
0
Cover is closed.
On
20
32
Cover is open.
6
Off
00
0
Paper is not being fed by using the PAPER FEED button.
On
40
64
Paper is being fed by using the PAPER FEED button.
7
Off
00
0
Not used. Fixed to Off.