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


[Name]

Set the customized setting values

[Format]

ASCII
   
GS
  
(
  
E
  
pL
  
pH
  
fn
  
[a1 n1L n1H]
  
...
  
[ak nkL nkH]
Hex
1D
28
45
pL
pH
05
[a1 n1L n1H]
...
[ak nkL nkH]
Decimal
29
40
69
pL
pH
5
[a1 n1L n1H]
...
[ak nkL nkH]

[Range]

(pL + pH × 256) = 4 – 65533   (However, (pL + pH × 256) = 3 × k + 1)
fn = 5
k = 1 – 21844
a, nL, nH: different depending on the printers

[Default]

different depending on the printers
Refer to the table above.

[Description]

Changes the customized value specified by parameter a to (nL + nH × 256).
a
Type of customized value
1
NV user memory capacity
2
NV graphics memory capacity
3
Paper width
5
Print density
6
Print speed
7
Thai character print mode
8
Default character code table
9
Default international character
10
Selection of the interface
11
Column emulation mode
12
Command execution (offline)
13
Specification for the top margin by backfeed
14
Selection of paper removal standby
20
Switchover time for a valid interface
21
Selection of primary connection interface
22
Display when interface is activating
70
Graphics expansion and reduction method
71
Graphics expansion and reduction algorithm
73
Graphics expansion and reduction ratio (when Manual Control)
97
Number of divisions of thermal head energizing
98
Power supply output
100
Paper autocutting after closing the roll paper cover
101
(ARP) Enabling/disabling reduction of excessive top margin
102
(ARP) Enabling/disabling reduction of excessive bottom margin
103
(ARP) Reduction ratio of line spacing
104
(ARP) Reduction ratio of line spacing where extra line feeds are included
105
(ARP) Reduction ratio of barcode height
106
(ARP) Reduction ratio of character height (reduction of in character space)
111
Automatic replacement of Font A
112
Automatic replacement of Font B
113
Automatic replacement of Font C
114
Automatic replacement of Font D
115
Automatic replacement of Font E
116 – 195
The model-specific customized value
Value differs, depending on the printer models. See model specific information.
  • The setting unit specified by (nL + nH × 256) differs, depending on the printer model.
  • ARP stands for Automatic Reduction of Paper.

[Notes]

  • This function works only in user setting mode. To enter the user setting mode, execute GS ( E   <Function 1>
  • Customized value is specified by unit of 3 bytes (a, nL, nH)
  • Ex: A transmitted data as specifying paper width;
  • ASCII:
       
    GS
      
    (
      
    E
      
    pL
      
    pH
      
    fn
      
    a
      
    nL
      
    nH
    Hex:
    1D
    2B
    45
    04
    00
    05
    03
    06
    00
    Decimal:
    29
    40
    69
    4
    0
    5
    3
    6
    0
  • To activate the customized values you set with this function, you must terminate the user setting mode by GS ( E   <Function 2> .
  • When you change the (a = 1) or (a = 2) setting, the printer clears all data in the NV user memory and the NV graphics memory.
  • If you attempt to set a combination of settings that is not possible for (a = 1) and (a = 2), the NV graphics memory setting is reduced to an allowable value.
  • The setting value of the print speed (a = 6) is effective when the printer performs in proper condition. Print speed may slow temporarily, depending on the operating environment or the print duty.
  • Customized values set are valid until the following operations are executed. They are not initialized by power off or ESC @.
    • Execution of this function
    • Execution of memory switch setting mode by panel operation when the power is turned on (supported by some printer models)
 

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