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 ( D


[Name]

Enable/disable real-time command

[Format]

ASCII
   
GS
  
(
  
D
  
pL
  
pH
  
m
  
[a1 b1]
  
...
  
[ak bk]
Hex
1D
28
44
pL
pH
14
[a1 b1]
...
[ak bk]
Decimal
29
40
68
pL
pH
20
[a1 b1]
...
[ak bk]

[Range]

(pL + pH × 256) = 3, 5
m = 20
b = 0, 1, 48, 49
a: different depending on the printers.

[Default]

a
Real-time command type
Default
1
DLE DC4   (fn=1) : Generate pulse in real-time.
enable (b = 1)
2
DLE DC4   (fn=2) : Execute power-off sequence.
disable (b = 0)

[Description]

Enables or disables the Real-time commands.
  • pL and pH specify the number of bytes following m as (pL + pH × 256).
  • a specifies the type of real-time command.
  • b specifies enable/disable of real-time command processing.
  • a
    b
    Function
    1
    0, 48
    Disable DLE DC4   (fn=1) (does not execute the process)
    1, 49
    Enable DLE DC4   (fn=1) (executes the process)
    2
    0, 48
    Disable DLE DC4   (fn=2) (does not execute the process)
    1, 49
    Enable DLE DC4   (fn=2) (executes the process)

[Notes]

  • The printer processes each Real-time commands that is enabled (b = 1, 49) upon receiving it.
  • A Real-time commands specified as disabled (b = 0, 48) is not processed.
  • Setting of this command is effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • If you transmit a command for graphics data or definition data that contains the sequence DLE DC4, be sure to disable real-time command (b = 0, 48) processing before transmitting the graphics data or defined data command. Then the printer will process the sequence DLE DC4 as image data.
  • If graphics data includes a data string matching DLE DC4 (fn = 1 or 2), it is recommended to use this command in advance to disable the Real-time commands.
 

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