Gs a n, Gs a – Citizen Systems BD2-2220 User Manual
Page 90
- 90 -
GS a n
CT-S280
CT-S300
CT-S2000
CT-S4000
BD2-2220
CT-S310
support model
PMU2XXX
[Function]
Enabling/disabling ASB (Automatic Status Back)
[Code]
<
1D>H<61>H
[Range]
0≦n≦255
[Outline]
[The specification which is common to the model]
This command selects the status item to be addressed by ASB (Automatic Status Back.)
Bit
Status Item Addressed by ASB
Hex.
Decimal
Status of pin 3 of drawer kick-out connector = Disabled
00
0
0
Status of pin 3 of drawer kick-out connector = Enabled
01
1
Online/offline status = Disabled
00
0
1
Online/offline status = Enabled
02
2
Error status = Disabled
00
0
2
Error status = Enabled
04
4
Continuous Paper Sensor = Disabled
00
0
3
Continuous Paper Sensor = Enabled
08
8
-
-
4 Undefined
-
-
5 Undefined
-
-
6 Undefined
-
-
7 Undefined
[Caution]
[The specification which is common to the model]
• If any status item is enabled, the status is sent to the host when this command is executed. After
that time on, the status is sent each time an enabled status item changes. Because each status
item represents the current condition, status items disabled for ASB may also have changed.
• The ASB function is disabled if all status items are disabled.
• If the ASB function is enabled by default, the host receives the status the first time the printer gets
ready for communication after it is turned on.
• The printer sends 4 bytes of status shown in the tables below, without checking whether the host
is ready to receive or busy. The 4 bytes of status is a continuous string except for XOFF code.
• Because this command is executed when data is mapped in the receive buffer, there may be a
delay between command receiving and status sending depending on the condition of the receive
buffer.
• Even if the printer is excluded from the selection of peripheral equipment ESC =, the 4 bytes of
status is sent to the host whenever status changes.
• When DLE EOT, GS I, or GS r is used, the host must discriminate between the status specified by
these commands and the status due to ASB.
[The specification which depend on the model]
CT-S280
/
BD2-2220
/
PMU2XXX
• Bit 2 of the first byte (printer information) of the status sent in 4 bytes is set to 00h
because drawer is not supported.