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 r
[Name]
Transmit status
[Format]
ASCII
|
|
GS
|
|
r
|
|
n
|
Hex
|
1D
|
72
|
n
|
|||
Decimal
|
29
|
114
|
n
|
[Range]
n: different depending on the printers
[Description]
Transmits the status using n as follows:
n
|
Function
|
---|---|
1, 49
|
Transmits paper sensor status
|
2, 50
|
Transmits drawer kick-out connector status
|
4, 52
|
Transmits ink status
|
[Notes]
-
Each status is 1 byte.
-
Paper sensor status (n = 1, 49)
-
BitBinaryHexDecimalStatus0, 100000Roll paper near-end sensor: paper adequate.11033Roll paper near-end sensor: paper not present.2, 300000Roll paper end sensor: paper present.110C12Roll paper end sensor: paper not present.40000Fixed5,6−−−(Reserved)70000Fixed
-
-
Some paper sensors are not present, depending on the printer model. The names of some paper sensors are different, depending on the printer model.
-
-
Drawer kick-out connector status (n = 2, 50)
-
BitBinaryHexDecimalStatus00000Drawer kick-out connector pin 3 is LOW. (∗1)1011Drawer kick-out connector pin 3 is HIGH. (∗1)1 – 3−−−(Reserved)40000Fixed5, 6−−−(Reserved)70000Fixed
-
(∗1) If the optional external buzzer is connected to the drawer kick-out connector, the bit is HIGH while the buzzer is sounding, and LOW otherwise.
-
Ink status (n = 4, 52)
-
BitBinaryHexDecimalFunction00000Ink near-end not detected (1st color)1011Ink near-end detected (1st color)10000Ink near-end not detected (2nd color)1022Ink near-end detected (2nd color)2, 3−−−(Reserved)40000Fixed5, 6−−−(Reserved)70000Fixed
-
When you use this command, obey the following rules.
-
-
After the host PC transmits the function data, the printer will send response data or status data back to the PC. Do not transmit more data from the PC until the response data or status data are received from the printer.
-
When operating with a serial interface, be sure to configure operation so that the host computer uses the printer only when it is READY.
-
With a parallel interface, a real-time status is stored in the transmission buffer of the printer temporarily the same as the other transmission data (except for ASB status), and when the host enters reverse mode, data is transmitted in order from the beginning of the transmission buffer. The transmission buffer is 99 bytes; therefore, data that exceeds 99 bytes is ignored. When using this command, the host should be changed to the reverse mode immediately and execute a receive processing of status.
-
-
After the print changing line operation ends, paper sensor status (n = 1, 49) is transmitted. Therefore if use GS r 1 according to the printing instruction, host recognizes the print completion by receiving paper sensor status.
-
Normal status can be differentiated by the information of bits 4, and 7 from other transmission data. If the data transmitted from the printer after outputting GS r to the printer is "0xx1xx10" (x = 0 or 1), process the data as a normal 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