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 I
[Name]
Transmit printer ID
[Format]
ASCII
|
|
GS
|
|
I
|
|
n
|
Hex
|
1D
|
49
|
n
|
|||
Decimal
|
29
|
73
|
n
|
[Range]
n: different depending on the printers
[Default]
None
[Description]
Transmits the printer ID or printer information.
-
Printer ID:
-
nPrinter IDSpecification1, 49Printer model IDPrinter model2, 50Type IDPrinter type3, 51Version IDFirmware version
-
Printer information A:
-
nPrinter information ASpecification33Type informationSupported functions35, 36, 96, 110(See model specific information)(See model specific information)
-
Printer information B:
-
nPrinter information BSpecification65Firmware versionFirmware version66Maker name"EPSON"67Model nameModel name68Serial NoSerial No of the printer69Font of Language for each countryJapanese model: "KANJI JAPANESE"Simplified Chinese model: "CHINA GB2312" or "CHINA GB18030"Traditional Chinese model: "TAIWAN BIG-5"Korean model: "KOREA C-5601C"South Asia model: "THAI 1 PASS"111(See model specific information)(See model specific information)112(See model specific information)(See model specific information)
[Notes]
-
When you use this command, obey the following rules.
-
-
When the host PC transmits the function data, transmit next data after receiving the corresponding ID from the printer.
-
With a serial interface printer, be sure to use this function when the host can receive data.
-
With a parallel interface printer, data (printer ID, printer information) sent with this command is temporarily stored in the printer send buffer like other transmitted data (except ASB). When the host goes into reverse mode, the printer then sends the data sequentially from the beginning of the send buffer. Send buffer capacity is 99 bytes. Data exceeding this amount is lost; therefore, when using this command, promptly change into reverse mode to start the data receive process.
-
[Notes for Printer ID]
-
Each printer ID is composed of 1 byte.
-
Printer model ID (n = 1, 49) differs, depending on the printer model.
-
Type ID (n = 2, 50) is as follows:
-
BitBinaryFunctionHexDecimal00Multi-byte code characters are not supported.0001Multi-byte code characters are supported.01110Autocutter not installed.0001Autocutter installed.02220DM-D is not connected.0001DM-D is connected.0443−(Reserved)−−40Fixed0005−(Reserved)−−60(Reserved)00070Fixed000
-
There is a one to one correspondence between the version ID (n = 3, 51) and the firmware version. The details differ, depending on the printer model.
-
Printer ID is distinguished from other send data by bits 4 and 7. When the data sent from printer after printing GS I is "0xx0xxxx" (x = 0, 1), the printer processes the data as printer ID.
[Notes for Printer information A]
-
Printer information A consists of [Header – NUL] as shown in the following table:
-
Send dataHexDecimalNumber of bytesHeader3Dh611 byteIdentifier (∗1)21h, 23h, 24h, 60h, or 6Eh33, 35, 36, 96, or 1101 bytePrinter information ADepends on printer modelDepends on printer model0 – 80 bytesNUL00h01 byte
-
(∗1) The identifier equals the parameter n of this command.
-
The Type information (n = 33) is either 1-byte of [First byte], 2 bytes of [First byte] and [Second byte], or 3 bytes of [First byte] to [Third byte], depending on the model.
-
<First byte>
-
BitBinaryFunctionHexDecimal00Multi-byte code characters are not supported.0001Multi-byte code characters are supported.01110Autocutter is not installed.0001Autocutter is installed.02220DM-D is not connected.0001DM-D is connected.0443 – 5−Reserved.−−61Fixed.406470Fixed.000
-
<Second byte>
-
BitBinaryFunctionHexDecimal0 – 5−Reserved.−−61Fixed.406470Fixed.000
-
<Third byte>
-
BitBinaryFunctionHexDecimal00No peeler function available.0001Peeler function available.0111 – 5−Reserved.−−61Fixed.406470Fixed.000
-
When communication with the printer uses XON/XOFF control, the XOFF code may interrupt the "Header to NUL" data string.
-
The printer information A can be differentiated by the header of the block data from other transmission data. After outputting GS I, if the header transmitted from the printer is [Hex = 3Dh / Decimal = 61], data is processed up to NUL [Hex = 00h / Decimal = 0] as the data block, according to the header and identifier.
[Notes for Printer information B]
-
Each printer information is composed of [header to NUL] (when n = 65 – 69, or n = 112).
-
Send dataHexDecimalNumber of bytesHeader5Fh951 bytePrinter information BDepends on the modelDepends on the model0 – 80 bytesNUL00h01 byte
-
-
If the printer information is not prepared, [Header + NUL] (2 bytes) are sent.
-
-
The firmware version can be confirmed by self test printing. The self test is executed by executing GS ( A, or by panel switch operation when power is turned on.
-
With serial interface, when communication with the printer uses XON/XOFF control, the XOFF code may interrupt the "Header to NUL" data string.
-
Printer information can be identified to other transmission data according to specific data of the transmission data block. When the header transmitted by the printer is [Hex = 5Fh / Decimal = 95], treat NUL [Hex = 00h / Decimal = 0] as a data group and identify it according to the following data.
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