GS W

VERSAJET

 

 

 

[Name]

Set printable area width

 

Programming Reference

 

 

 

[Format]

ASCII

GS W nL nH

 

 

 

 

 

 

 

Hex

1D 57 nL nH

 

 

 

 

Decimal

29 87 nL nH

 

 

 

[Range]

0(nL + nH x 256) 65535 (0nL255, 0nH255)

 

 

 

[Default]

nL = 0, nH = 0

 

 

 

[Description]

In standard mode, sets the printable area width to (nL + nH x256) x (horizontal motion unit).

[Notes]

When standard mode is selected, this command is enabled only when processed at the beginning of the line.

The left margin has no effect in page mode. If this command is processed in page mode, the left margin is set and it is enabled when the printer returns to standard mode.

If the [left margin + printable area width] exceeds the printable area, the printable area width is automatically set to [printable area – left margin].

If this command and GS L set the printing area width to less than the width of one character, the printing 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.

154