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 W


[Name]

Set print area width

[Format]

ASCII
   
GS
  
W
  
nL
  
nH
Hex
1D
57
nL
nH
Decimal
29
87
nL
nH

[Range]

(nL + nH × 256) = 0 – 65535

[Default]

Entire printable area

[Description]

In Standard mode, sets the print area width to (nL + nH × 256) × (horizontal motion unit).

[Notes]

  • When Standard mode is selected, this command is enabled only when processed at the beginning of the line.
  • The print area width has no effect in Page mode. If this command is processed in Page mode, the print area width is set and it is enabled when the printer returns to Standard mode.
  • If the [left margin + print area width] exceeds the printable area, the print area width is automatically set to [printable area - left margin].
  • If this command and GS L set the print area width to less than the width of one character, the print area width is extended to accommodate one character for the line.
  • Horizontal motion unit is used.
  • If horizontal motion unit is changed after setting the printable area width, the printable area width setting will not be changed.
  • Printable area width setting is effective until ESC @ is executed, the printer is reset, or the power is turned off.
 

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