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 ( C   <Function 5>


[Name]

Transmit the key code list

[Format]

ASCII
   
GS
  
(
  
C
  
pL
  
pH
  
m
  
fn
  
b
Hex
1D
28
43
03
00
00
fn
00
Decimal
29
40
67
3
0
0
fn
0

[Range]

(pL + pH × 256) = 3
m = 0
fn = 5, 53
b = 0

[Description]

Transmits the key code list in the NV user memory.
  • ESC/POS Handshaking Protocol is required for this function.

[Notes]

  • When record exists, the printer sends the "Header to NUL" data as shown below:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    71h
    113
    1 byte
    Identification status (∗1) (∗2)
    40h or 41h
    64 or 65
    1 byte
    Data (∗3)
    20h – 7Eh
    32 – 126
    0 – 80 bytes
    NUL
    00h
    0
    1 byte
  • (∗1)
    When the quantity of stored data exceeds 40 records, the printer performs partial processing:
    • If there is unsent data, the identification status of the third byte is 41h or 65 decimal.
    • If there is no unsent data, the identification status of the third byte is 40h or 64 decimal.
    (∗2)
    The printer performs batch processing when the data to be stored in the specified record is 40 records or less. At this time, the identification status of the third byte is 40h or 64 decimal.
    (∗3)
    The data is the key code. A terminator is not included in the data.
  • If the host specifies a nonexistent record, the printer sends the "Header to NUL" data shown below:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    71h
    113
    1 byte
    Identification status
    40h
    64
    1 byte
    NUL
    00h
    0
    1 byte
  • See [Notes for transmission process] for description of transmission process.
  • ESC/POS handshake processing is necessary for this function.
  • See [Notes for ESC/POS Handshaking Protocol] for description of ESC/POS Handshaking Protocol.
 

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