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 ( E   <Function 52>


[Name]

Transmit the control settings for label paper and paper with black marks

[Format]

ASCII
   
GS
  
(
  
E
  
pL
  
pH
  
fn
  
m
  
Media.str
Hex
1D
28
45
pL
pH
34
m
  
Media.str
Decimal
29
40
69
pL
pH
52
m
  
Media.str

[Range]

(pL + pH × 256) = 17 (pL = 17, pH = 0)
fn = 52
Media.str: strings described in [Description] + null

[Description]

  • Transmits the control setting value for the media specified in Media.str.
Media.str
Media type can be specified
LinerFreeLabel
Liner-free label paper
  • The transmission data is as below:
Hexadecimal
Decimal
Amount of data
Header
3FH
63
1 byte
Identifier
75H
117
1 byte
Status
40H or 41H
64 or 65
1 byte
Separator
1FH
31
1 byte
Control setting value
30H – 39H
48 – 57
0 – 80 bytes
NUL
00H
0
1 byte
  • After the [Header – NUL] is transmitted, the printer receives a response from the host; then it performs the process defined in the response. (See the tables below.)
  • When the status (existence of the next data block) is Hexadecimal = 41H / Decimal = 65
Response
Process performed
ASCII
Decimal
ACK
6
Transmits the next data.
NAK
21
Transmits the previous data again.
CAN
24
Ends the process.
  • When the status (existence of the last data block) is Hexadecimal = 40H / Decimal = 64
Response
Process performed
ASCII
Decimal
ACK
6
Ends the process.
NAK
21
Transmits the previous data again.
CAN
24
Cancels the process.
 

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