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


[Name]

DataMatrix: Set the symbol type, number of columns, number of rows

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
m
  
d1
  
d2
Hex
1D
28
6B
05
00
36
42
m
d1
d2
Decimal
29
40
107
5
0
54
66
m
d1
d2

[Range]

(pL + pH × 256) = 5
cn = 54
fn = 66
m = 0, 1, 48, 49
d1, d2 = (0, 0), (10, 10), (12, 12), (14, 14), (16, 16), (18, 18), (20, 20), (22, 22), (24, 24), (26, 26), (32, 32), (36, 36), (40, 40), (44, 44), (48, 48), (52, 52), (64, 64), (72, 72), (80, 80), (88, 88), (96, 96), (104, 104), (120, 120), (132, 132), (144, 144) [when the symbol type is square (m = 0, 48)]
d1, d2 = (8, 0), (8, 18), (8, 32), (12, 0), (12, 26), (12, 36), (16, 0), (16, 36), (16, 48) [when the symbol type is rectangle (m = 1, 49)]

[Default]

m = 0
d1, d2 = (0, 0)

[Description]

Sets the symbol type, number of columns, and number of rows.
m
d1, d2
Symbol type
Number of columns, rows
0, 48
(0, 0)
Square (ECC200)
Sets automatic processing for the number of columns and rows of the symbol.
0, 48
Other than (0, 0)
Square (ECC200)
Sets the number of columns of the symbol to d1, the number of rows to d2 .
1, 49
(8, 0), (12, 0), (16, 0)
Rectangle (ECC200)
Sets the number of columns of the symbol to d1, the number of rows to automatic processing.
1, 49
Other than (8, 0), (12, 0), (16, 0)
Rectangle (ECC200)
Sets the number of columns of the symbol to d1, the number of rows to d2 .

[Notes]

  • The number of columns (d1) and rows (d2) is defined as below:
  • Module (minimum unit of symbol)
    Row d2
    Column d1
    Graphic
  • This function is ignored in the following cases:
    • If any of m, d1, or d2 is outside its range.
    • When the active sheet is not roll paper.
  • Settings of this function are effective until ESC @ is executed, GS ( M   <Function 2> is executed, the printer is reset, or the power is turned off.
  • Settings of this function affect the encode processing for DataMatrix.
    • Changing the symbol type affects the horizontal and vertical sizes of the symbol.
  • Settings of this function affect the processing of GS ( k   <Function 681> and GS ( k   <Function 682> of this command.
 

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