Select your printer model
Parameters are refined by the selected printer.
- EU-m30
- TM-J2000
- TM-J2100
- TM-L90
- TM-L90 LFC
- TM-L100
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30III
- TM-m30III-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60
- TM-P60II
- TM-P80
- TM-P80II
- TM-T20
- TM-T20II
- TM-T20III
- TM-T20IIIL
- TM-T20IV-L
- TM-T20X
- TM-T20X-II
- TM-T70
- TM-T70II
- TM-T81III
- TM-T82II
- TM-T82III
- TM-T82IIIL
- TM-T82IV-L
- TM-T82X
- TM-T82X-II
- TM-T83III
- TM-T83IV
- TM-T88IV
- TM-T88V
- TM-T88VI
- TM-T88VII
- TM-T90
- TM-T100
- TM-U220
- TM-U220II
- TM-U230
GS j
[Name]
Enable/disable Automatic Status Back (ASB) for ink
[Format]
ASCII
|
|
GS
|
|
j
|
|
n
|
Hex
|
1D
|
6A
|
n
|
|||
Decimal
|
29
|
106
|
n
|
[Range]
n = 0 – 255
[Default]
When DIP switch or memory switch (BUSY condition) is Off: n = 0
When DIP switch or memory switch (BUSY condition) is On: n = 1
[Description]
Enables or disables the ink ASB (Automatic Status Back) and specifies the status items
to include, using n as follows:
n: Bit
|
Function
|
Binary
|
Hex
|
Decimal
|
---|---|---|---|---|
0
|
Disable online/offline status of the ink mechanism
|
0
|
00
|
0
|
Enable online/offline status of the ink mechanism
|
1
|
01
|
1
|
|
1
|
Disable ink status detection
|
0
|
00
|
0
|
Enable ink status detection
|
1
|
02
|
2
|
|
2 – 7
|
(Reserved)
|
0
|
00
|
0
|
[Notes]
-
ASB (Automatic Status Back) transmits the status such as ink near-end, ink cartridge installed/not installed automatically to the printer in real-time. It is called [ASB function] and the status is [ASB status]. If you use ASB, application can acquire the printer change in real-time and passively.
-
Enabling any status (except n = 0) starts ink ASB. Then the current ink ASB status is transmitted. After that, when ASB is active, the selected enabled ink ASB status is transmitted each time the status changes.
-
When n = 0, ink ASB is disabled. When ASB is disabled, ink ASB status is not transmitted.
-
If ASB is enabled when the printer is disabled by ESC =, the printer transmits a 4-byte status message whenever the status changes.
-
This command is effective until ESC @ is executed, the printer is reset, or the power is turned off.
-
All ink ASB status items represent the enabled status whenever the status changes. Therefore, the disabled status items may change, because each status transmission represents the current status.
-
The ink ASB status, corresponding to each bit for n are as follows:
-
nASB status descriptionBitStatusASB statusBit0Online/offline status of ink mechanismDetect ink endStatus A: Bit 1Status B: Bit 1Detect ink cartridgeStatus A: Bit 2Status A: Bit 3CleaningStatus A: Bit 51Ink detection statusDetect ink near-endStatus A: Bit 0Status B: Bit 0Detect ink endStatus A: Bit 1Status B: Bit 1Detect ink cartridgeStatus A: Bit 2Status B: Bit 3
-
The ink ASB status is a 4-byte message, consisting of the following table.
-
Send dataHexDecimalNumber of bytesHeader35h531 byteStatus A (∗1)40h – 7Fh64 – 1271 byteStatus B (∗2)40h – 7Fh64 – 1271 byteNUL00h01 byte
-
(∗1) Status A is shown in the table below:
-
BitFunctionBinaryHexDecimal0Ink near-end not detected (1st color)0000Ink near-end detected (1st color)10111Ink end not detected (1st color)0000Ink end detected (1st color)10222Ink cartridge installed (1st color)0000Ink cartridge not installed (1st color)00443Ink cartridge installed (2nd color)0000Ink cartridge not installed (2nd color)10884(Reserved)−−−5Cleaning is not being performed0000Cleaning is being performed120326Fixed140647Fixed0000
-
(∗2) Status B is shown in the table below:
-
BitFunctionBinaryHexDecimal0Ink near-end not detected (2nd color)0000Ink near-end detected (2nd color)10111Ink end not detected (2nd color)0000Ink end detected (2nd color)10222 – 5(Reserved)−−−6Fixed140647Fixed0000
-
When block data [Header – NUL] is being transmitted, ASB status cannot be transmitted. Therefore, you cannot get the printer status change through ASB status when Block data [Header – NUL] is transmitted.
-
With a serial interface, the printer transmits a 4-byte ASB status message without confirming whether the host can receive data.
-
With a parallel interface, when ASB status is used, it is desirable for the host to be in a reverse idle state. However, if the host computer cannot always be in the reverse idle state, it is necessary to enter Reverse Mode regularly to watch for ASB status. If the host is not in the Reverse Mode for a long time, and the printer has to store ASB status changes to be transmitted, the following 2 sets (8 bytes) of ASB status are changed to special data and transmitted prior to other transmission data when the host enters Reverse Mode:
-
-
ASB-1: Status information that shows whether status changes occurred
-
ASB-2: The latest ASB status information If bits have a different value between (ASB-1) and (ASB-2), this means at least one change has occurred. An example is shown below:
-
HeaderStatus AStatus BNULASB-10011 01010110 00000100 00000000 0000ASB-20011 01010100 00000100 00000000 0000
-
Bit 5 of Status A for ASB-1 and ASB-2 is different. From this information, you can see that the printer executed a cleaning but it has already finished.
-
-
Ink ASB status can be differentiated from other transmission data by identified data of the transmission data group. If the header from the printer is [Hex = 35h/Decimal = 53], the host should process the data up to NUL [Hex = 00h/Decimal = 0] as ASB status.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ESC/POS® includes patented or patent pending commands. The contents must not be disclosed
to third parties.
- Introduction
- Command Lists
- Commands in Code Order
- Applicable printers
- Command List by Model
- EU-m30
- TM-J2000, TM-J2100
- TM-L90
- TM-L90 LFC
- TM-L100
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60
- TM-P60II
- TM-P80
- TM-P80II
- TM-T100
- TM-T20
- TM-T20II
- TM-T20III
- TM-T20IIIL
- TM-T20IV-L
- TM-T20X
- TM-T20X-II
- TM-T70
- TM-T70II
- TM-T81III
- TM-T82II
- TM-T82III
- TM-T82IIIL
- TM-T82IV-L
- TM-T82X
- TM-T82X-II
- TM-T83III
- TM-T83IV
- TM-T88IV
- TM-T88V
- TM-T88VI
- TM-T88VII
- TM-T90
- TM-U220
- TM-U220II
- TM-U230
- Obsolete Commands
- Commands Arranged by Function
- Print Commands
- Line Spacing Commands
- Character Commands
- Printing Paper Commands
- Label and black mark control
- Print Position Commands
- Paper Sensor Commands
- Mechanism Control Commands
- Bit Image Commands
- Bit Image
- GS ( L / GS 8 L
- GS D
- Graphics
- NV Graphics
- Download Graphics
- Panel Button Commands
- Status Commands
- Barcode Commands
- Two-dimensional Code Commands
- GS ( k
- PDF417
- QR Code
- MaxiCode
- 2-dimensional GS1 DataBar
- Composite Symbology
- Aztec Code
- DataMatrix
- Macro Function Commands
- Kanji Commands
- Miscellaneous Commands
- DLE ENQ
- DLE DC4 <fn=1>
- DLE DC4 <fn=2>
- DLE DC4 <fn=3>
- DLE DC4 <fn=7>
- DLE DC4 <fn=8>
- ESC ( Y
- ESC =
- ESC @
- ESC L
- ESC S
- ESC p
- GS ( A
- GS ( D
- GS I
- GS P
- GS g 0
- GS g 2
- GS z 0
- Response or status transmission
- Print control methods
- Beeper tone control
- Graphics drawing
- Receipt enhancement control
- Page mode control
- Customize Commands
- User setup
- GS ( E
- GS ( E <fn=1>
- GS ( E <fn=2>
- GS ( E <fn=3>
- GS ( E <fn=4>
- GS ( E <fn=5>
- GS ( E <fn=6>
- GS ( E <fn=7>
- GS ( E <fn=8>
- GS ( E <fn=9>
- GS ( E <fn=10>
- GS ( E <fn=11>
- GS ( E <fn=12>
- GS ( E <fn=13>
- GS ( E <fn=14>
- GS ( E <fn=15>
- GS ( E <fn=16>
- GS ( E <fn=48>
- GS ( E <fn=49>
- GS ( E <fn=50>
- GS ( E <fn=51>
- GS ( E <fn=52>
- GS ( E <fn=99>
- GS ( E <fn=100>
- Printer customization
- NV user memory
- User setup
- Counter Printing Commands
- Programming Examples
- Appendixes