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


[Name]

Transmit the data in the specified record

[Format]

ASCII
   
GS
  
(
  
C
  
pL
  
pH
  
m
  
fn
  
b
  
c1
  
c2
Hex
1D
28
43
05
00
00
fn
00
c1
c2
Decimal
29
40
67
5
0
0
fn
0
c1
c2

[Range]

(pL + pH × 256) = 5
m = 0
fn = 2, 50
b = 0
c1 = 32 – 126
c2 = 32 – 126

[Description]

Transmits the data for the record specified by the key codes (c1, c2) in the NV user memory.
  • ESC/POS Handshaking Protocol is required for this function.

[Notes]

  • When the specified record exists, the printer sends the "Header to NUL" data shown below:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    70h
    112
    1 byte
    Identification status (∗1) (∗2)
    40h or 41h
    64 or 65
    1 byte
    Data (∗3)
    20h – FEh
    32 – 254
    1 – 80 bytes
    NUL
    00h
    0
    1 byte
  • (∗1)
    When the quantity of stored data exceeds 80 bytes, 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 is 80 bytes or less. At this time, the identification status of the third byte is 40h or 64 decimal.
    (∗3)
    The key code and terminator are not included in the data. If the stored data in the record is abnormal, it will be one-byte data of [Hex = FFh / Decimal = 255].
  • 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
    70h
    112
    1 byte
    Identification status
    40h
    64
    1 byte
    NUL
    00h
    0
    1 byte
  • See [Notes for transmission process] for description of transmission process.
  • 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