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   <Function 181>


[Name]

QR Code: Print the symbol data in the symbol storage area

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
m
Hex
1D
28
6B
03
00
31
51
m
Decimal
29
40
107
3
0
49
81
m

[Range]

(pL + pH × 256) = 3
cn = 49
fn = 81
m = 48

[Description]

Encodes and prints the QR Code symbol data in the symbol storage area using the process of GS ( k   <Function 180> .

[Notes]

  • In Standard mode, use this function when the printer is "at the beginning of a line," or "there is no data in the print buffer."
  • The symbol size that exceeds the print area cannot be printed.
  • If there is any error described below in the data of the symbol storage area, it cannot be printed.
    • There is no data (GS ( k   <Function 180> is not processed).
    • If the data of the symbol storage area is more than the data allowed by specified model and data compaction mode. (This case is an abnormal number of data.)
  • The four data compaction modes are listed below (in order of compaction rate). Automatically selects best compaction mode by the data of the symbol storage area.
    • Numerical mode
    • Alphanumeric mode
    • Kanji mode
    • 8-Bit Byte Mode
  • The following data are added automatically by the encode processing.
    • Position Detection Patterns
    • Separators for Position Detection Patterns
    • Timing Patterns
    • Format Information
    • Version Information
    • Error Correction codewords (employs the Reed-Solomon Error Detection and Correction algorithm)
    • Pad codeword
    • Number of bits in Character Count Indicator
    • Mode Indicator
    • Terminator
    • Alignment Patterns (when model 2 is selected)
    • Extension Patterns (when model 1 is selected)
  • Printing of symbol is not affected by print mode (emphasized, double-strike, underline, white/ black reverse printing, or 90° clockwise-rotated), except for character size and upside-down print mode.
  • In Standard mode, this command executes paper feeding for the amount needed for printing the symbol, regardless of the paper feed amount set by the paper feed setting command. After the symbol printing, the print postion is moved to left side of the printable area. Also, the printer is in the status "Beginning of the line".
  • In Page mode, the printer stores the symbol data in the print buffer without executing actual printing. The printer moves print position to the next dot of the last data of the symbol.
  • The quiet zone is not included in the printing data. Be sure to include the quiet zone when using this function.
  • The symbol is printed with appropriate printing speed regardless of the printer's maximum printing speed or the setting of GS ( K   <Function 48> .
 

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