EasyManua.ls Logo

Better BT-1 - General Status Transmission; 8.2.7 Bar Code Command; HRI Character Position for Barcodes

Better BT-1
70 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BT-1 user manual
Page 42 of 70
GS r n
[Name]
Transmit status
[Format]
ASCII
:
GS
r
n
Decimal:
29 114 n
1D 72 n
Hexadecimal:
n=1, 49
[Range]
[Description]
Transmits the status specified by n as follows:
Function
n
1, 49
Transmits paper sensor status
[Note]
λ
When using a serial interface
1) When DTR/DSR control is selected, the printer transmits only 1 byte
after confirming the host is ready to receive 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.
2) 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 status types to be transmitted are shown below:
Paper sensor status (n = 1, 49):
Bit
Off/On
Hex
Decimal
Status for ASB
0,1
2,3
-
-
-
Undefined.
Off
On
Off
-
00
(0C)
00
-
0
Paper roll end sensor: paper adequate.
Paper roll end sensor: paper near end.
Not used. Fixed to Off.
Undefined.
(12)
4
0
-
5,6
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.
[Reference]
GS a
8.2.7 Bar Code Command
GS H n
[Name]
Select printing position for HRI characters
ASCII: GS H n
[Format]
利用 pdfFactory Pro 测试版本创建的PDF文档 www.pdffactory.com