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 281>


[Name]

MaxiCode: Print the symbol data in the symbol storage area

[Format]

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

[Range]

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

[Description]

Encodes and prints the MaxiCode symbol data in the symbol storage area using the process of GS ( k   <Function 280> .

[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."
  • If the symbol size exceeds the print area, the symbol 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 280> is not processed).
    • When using only numeric characters, the data is more than 138 characters.
    • When using alphanumeric characters, the data is more than 93 characters.
    • When Mode 2 is selected, the Primary Message includes all data except the following.
    • Factor of Primary Message
      Number of bytes
      Normal data
      Postal code
      1 – 9 byte
      Numeric
      ISO country code
      1 – 3 byte
      Numeric
      Class of service code
      1 – 3 byte
      Numeric
    • When mode 3 is selected, the Primary Message includes all data except the following.
    • Factor of Primary Message
      Number of bytes
      Normal data
      Postal code
      1 – 6 byte
      Code set A
      ISO country code
      1 – 3 byte
      Numeric
      Class of service code
      1 – 3 byte
      Numeric
  • When using Mode 2 or 3, execute the process as listed below:
  • (RS, GS indicates control code of MaxiCode (RS = 1Eh, GS = 1Dh), "yy" indicates numeric data of 2 byte.)
    1. When the top of symbol data is "[)>" RS "01" GS "yy", these 9 bytes of data are treated as header.
      • Next data of the header is treated as Primary Message.
      • When printing, header is set to top of Secondary Message.
    2. When the top of symbol data is not "[)>" RS "01" GS "yy", the data is treated as Primary Message.
    3. In Primary Message, GS separate message into Postal code and ISO country code and Class of service. This GS is disregarded.
    4. In Primary Message, it does not check each code.
    5. (ex: specified Postal code and correct Postal code. etc.)
    6. All data of Secondary message is treated as symbol data. (In Secondary Message, GS is treated as symbol data.)
  • In mode 4, 5 and 6, all of the data in the symbol storage area is treated as Primary Message and Secondary Message. It does not check each code.
  • MaxiCode employs the Reed-Solomon Error Detection and Correction algorithm for error correction codeword.
  • The following data are added automatically by the encode processing.
    • Finder Pattern
    • Orientation Pattern
    • Error correction codewords
    • Mode indicator
    • Pad codeword
  • 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 secure 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