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-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • 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:
  • n
    Printer ID
    Specification
    1, 49
    Printer model ID
    Printer model
    2, 50
    Type ID
    Printer type
    3, 51
    Version ID
    Firmware version
  • Printer information A:
  • n
    Printer information A
    Specification
    33
    Type information
    Supported functions
    35, 36, 96, 110
    (See model specific information)
    (See model specific information)
  • Printer information B:
  • n
    Printer information B
    Specification
    65
    Firmware version
    Firmware version
    66
    Maker name
    "EPSON"
    67
    Model name
    Model name
    68
    Serial No
    Serial No of the printer
    69
    Font of Language for each country
    Japanese 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:
  • Bit
    Binary
    Function
    Hex
    Decimal
    0
    0
    Multi-byte code characters are not supported.
    00
    0
    1
    Multi-byte code characters are supported.
    01
    1
    1
    0
    Autocutter not installed.
    00
    0
    1
    Autocutter installed.
    02
    2
    2
    0
    DM-D is not connected.
    00
    0
    1
    DM-D is connected.
    04
    4
    3
    (Reserved)
    4
    0
    Fixed
    00
    0
    5
    (Reserved)
    6
    0
    (Reserved)
    00
    0
    7
    0
    Fixed
    00
    0
  • 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 data
    Hex
    Decimal
    Number of bytes
    Header
    3Dh
    61
    1 byte
    Identifier (∗1)
    21h, 23h, 24h, 60h, or 6Eh
    33, 35, 36, 96, or 110
    1 byte
    Printer information A
    Depends on printer model
    Depends on printer model
    0 – 80 bytes
    NUL
    00h
    0
    1 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>
  • Bit
    Binary
    Function
    Hex
    Decimal
    0
    0
    Multi-byte code characters are not supported.
    00
    0
    1
    Multi-byte code characters are supported.
    01
    1
    1
    0
    Autocutter is not installed.
    00
    0
    1
    Autocutter is installed.
    02
    2
    2
    0
    DM-D is not connected.
    00
    0
    1
    DM-D is connected.
    04
    4
    3 – 5
    Reserved.
    6
    1
    Fixed.
    40
    64
    7
    0
    Fixed.
    00
    0
  • <Second byte>
  • Bit
    Binary
    Function
    Hex
    Decimal
    0 – 5
    Reserved.
    6
    1
    Fixed.
    40
    64
    7
    0
    Fixed.
    00
    0
  • <Third byte>
  • Bit
    Binary
    Function
    Hex
    Decimal
    0
    0
    No peeler function available.
    00
    0
    1
    Peeler function available.
    01
    1
    1 – 5
    Reserved.
    6
    1
    Fixed.
    40
    64
    7
    0
    Fixed.
    00
    0
  • 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 data
    Hex
    Decimal
    Number of bytes
    Header
    5Fh
    95
    1 byte
    Printer information B
    Depends on the model
    Depends on the model
    0 – 80 bytes
    NUL
    00h
    0
    1 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.


ESC/POS® Command Reference for TM Printers

Jump to the top