Gs A N Automatic Status Back (Asb) - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

0
1
2
3
4
5
6
7
n = 4: Paper feeding status
Bit
0
1
2,3
4
5,6
7
Please avoid inserting this command between 2 or more bytes command.
For example:
In the process of sending ESC 3 n to printer, DTR turns into MARK (DSR is used for
host computer) before sending n, and DLE EOT 3 is interrupted before receiving n,
then <10>H, the code of DLE EOT 3, is processed as the code of ESC 3 <10>H.
[Relative]
DLE ENQ, GS a, GS r

GS a n Automatic Status Back (ASB)

[Function]
Automatic Status Back (ASB)
[Format]
ASCII
Hex
Decimal 29 97 n
[Range]
0 ≤ n ≤ 255
[Notes]
Decide the content of ASB. The meaning of parameter n is as follows:
• When n is not equal to 0, the printer automatically returns 4-byte printer status
whenever the enabled status item changes.
• When n is equal to 0, the ASB function is disabled.
• When printer automatically returns status bytes, the host is not confirmed ready or
not to receive the data.
• Since this command is executed with other commands in sequence, there may be a
time lag between data transmission and ASB setting enabled.
0
00
1
02
-
-
0
00
1
08
1
10
0
00
0
00
1
40
0
00
1/0
HEX
Decimal
0
00
1
02
0
00
1
0C
1
10
0
00
1
60
0
00
GS a
n
1D 61 n
BTP-R580II Programming Manual
0
Fixed to 0.
2
Fixed to 1.
-
Undefined.
0
No cutter error.
8
Cutter error occurs.
16
Fixed to 1.
0
Fixed to 0.
0
Print head temperature is normal.
Print head temperature is out of
64
range.
0
Fixed to 0.
Function
0
Fixed to 0.
2
Fixed to 1.
0
Not in paper near end status.
12
In paper near end status.
16
Fixed to 1.
0
Paper presence.
96
Paper end.
0
Fixed to 0.
- 41 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents