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 ( k


[Name]

Set up and print the symbol

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
[parameters]
Hex
1D
28
6B
pL
pH
cn
fn
[parameters]
Decimal
29
40
107
pL
pH
cn
fn
[parameters]

[Description]

Performs data processing related to 2-dimensional codes (PDF417, QR Code, MaxiCode, 2-dimensional GS1 DataBar, Composite Symbology).

[Notes]

  • The function is specified with the function code (fn). Details of the performance differ according to the function.
  • 2-dimensional codes are printed with appropriate printing speed regardless of the printer's maximum printing speed or the setting of GS ( K   <Function 48> .

[Notes for processing of PDF417 symbol (when cn = 48)]

[Notes for process of QR Code symbol (when cn = 49)]

[Notes for process of MaxiCode symbol (when specify cn = 50)]

[Notes for 2-dimensional GS1 DataBar processing (when cn = 51 is specified)]

[Notes for Composite Symbology processing (when cn = 52 is specified)]

[Notes for process of Aztec Code symbol (when cn = 53 is specified)]

[Notes for process of DataMatrix symbol (when cn = 54 is specified)]

[Notes for transmission process]

    • 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 corresponding data is received from the printer.
    • When operating with a serial interface, be sure to configure operation so that the host computer uses these functions only when it is READY.
    • With a parallel interface, a [Header – NUL] is stored at first in the transmission buffer of the printer with the other transmission data (except for ASB status). When the host enters Reverse Mode, the data is transmitted in order from the beginning. Data that exceeds the transmission buffer size (99 bytes) is ignored. When using the command, the host should enter Reverse Mode immediately and execute receive processing of status.
  • When communication with the printer uses XON/XOFF control with serial interface, the XOFF code may interrupt the "Header to NUL" data string.
  • The information for each function 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 = 37h/decimal =55], treat NUL [hex = 00h/decimal =0] as a data group and identify it according to the combination of the header and the identifier.
 

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