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


[Name]

DataMatrix: Transmit the size information of the symbol data in the symbol storage area

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
m
Hex
1D
28
6B
03
00
36
52
30
Decimal
29
40
107
3
0
54
82
48

[Range]

(pL + pH × 256) = 3
cn = 54
fn = 82
m = 48

[Description]

Transmits the size information for printing the DataMatrix symbol data stored with GS ( k   <Function 680> in the symbol storage area.

[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 size information for each data is as follows;
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    59h
    89
    1 byte
    Horizontal size (∗1)
    30h – 39h
    48 – 57
    1 – 5 byte
    Separator
    1Fh
    31
    1 byte
    Vertical size (∗1)
    30h – 39h
    48 – 57
    1 – 5 byte
    Separator
    1Fh
    31
    1 byte
    Fixed value
    31h
    49
    1 byte
    Separator
    1Fh
    31
    1 byte
    Other information (∗2)
    30h or 31h
    48 or 49
    1 byte
    Error information (∗3)
    30h – 39h
    48 – 57
    4 byte
    NUL
    00h
    0
    1 byte
  • (∗1) 
    "Horizontal size" and "vertical size" indicate the number of dots of the symbol. The decimal value of the vertical size and horizontal size is converted to text data and sent starting from the high order end.
    (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.)
    (∗2) 
    "Other information" indicates whether printing of the data in the symbol storage area is possible or impossible. The "Other information" is the following.
    Other information
    Condition
    Hex
    Decimal
    30h
    48
    Printing is possible
    31h
    49
    Printing is impossible
    (∗3) 
    [Error information] indicates mainly detailed information when [Other information] is [Unprintable].
    Error information
    Error content
    Solution
    "0000"
    No error (printing is possible)
    -
    "1001"
    Encoded data cannot be within one symbol.
    Check the number of encoded data.
    "1002"
    Encode processing failed.
    Check the encoded data.
    "2001"
    When the Standard mode is selected, there is data in the print buffer.
    Print or clear the data in the print buffer.
    "2002"
    The symbol size is bigger than the current printing area.
    • The symbol is bigger than the printing area.
    • The printing position is at the buffer-full position.
    Make the module size smaller.
    Change the printing layout (printing area, printing position, etc.)
  • Size information indicates size of symbol that is printed with GS ( k   <Function 681> .
  • This function does not print.
  • This function is ignored in the following cases:
    • If m is outside its range.
    • When the active sheet is paper other than roll paper.
  • The quiet zone is not included in the size information.
  • See [Notes for transmission process] for process sending data group.
 

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