Specifications

Programmers Guide TH230/TH230+
160
GS a
Function: Enable/disable Automatic Status Back (ASB)
Code ASCII: GS a n
Code HEX:
0x1D 0x61 n
Range: 0 n ≤ 255
Default:
n = 0
Description:
Enable or disable ASB (Automatic Status Back) and specifies the status items
to include, using n as follows:
Bit
Function
Value
0 1
0
Drawer kick-out connector status
Disabled
Enabled
1 Busy status Disabled Enabled
2
Error status
Disabled
Enabled
3
Paper roll sensor status
Disabled
Enabled
4 Handshake customer display Disabled Enabled
5
Undefined
6 Undefined
7 Undefined
Notes:
ASB is the function that transmit the status of [cover open/close],
[Online/Offline] from the printer automatically. It is called [ASB function]
and the status is [ASB status]. If you use ASB, application can acquire the
printer change in a real-time and passively.
Select any status enabled (except n = 0) and ASB starts. Then transmit the
current ASB status. After that during ASB is active, the selected enabled
ASB status is transmitted whenever the status changes.
When n = 0, ASB is disabled. During ASB is disabled, ASB status is not
transmitted.
Multiple status items can be selected.
During ASB is active, ASB status is transmitted whenever the status
changes even if ESC = is not selected.
This command setting is effective until the printer is reset or power is
turned off.
During Block data [header NUL] is transmitted, ASB is disabled
temporarily. Therefore you can not get the printer status change through
ASB status during block data [header NUL] is transmitted.
Basic ASB status is 4-byte configuration [first byte fourth byte].
If the error status is enabled, a change in the following conditions will
trigger the ASB:
- Cover
- Cutter Error
- Out-of-Range Printhead Temperature
- Out-of-Range Voltage
- Paper Exhaust
If the busy status is enabled, a change in the following conditions will
trigger the ASB:
- Paper feed button