Specifications
Chapter 6: Commands 7193 Owner’s Guide
August 199856
Set Printing Area Width
Sets the width of the printing area. The command is effective only at the beginning of a
line.
Hexadecimal Decimal ASCII Value of nL Value of nH
1D 57 nL nH 29 87 nL nH GS W nL nH
0-255 0-255
The width of the printing area is set to (((nH X 256) + nL) X horizontal motion unit) inches.
The horizontal motion units are set by the Set Horizontal and Vertical Minimum Motion
Units command (1D 50). This command is described above.
The width of the printing area follows the Set Left Margin command (1D 4C). See above for
a description of the Set Left Margin command.
Notes
If the setting exceeds the printable area, the maximum value of the printable area is used.
The maximum printable area is 448 dots. See the illustration.
The default is the maximum printable area.
Examples
To set the width of the printing area to one inch at the default horizontal motion unit of
1/150 inches, send the four-byte string:
GS W 150 0
Or, to set the width of the printing area to two inches at the default horizontal motion unit
of 1/150 units per inch, send the four-byte string:
GS W 44 1
Where 2 inches = 300/150, and 300 = (1 X 256) + 44.
←
Printable area 448 dots
→
←
Left margin
→ ←
Printing area width
→
Print Characteristics Commands
These commands control what the printed information looks like: selection of character
sets, definition of custom-defined characters, and setting of margins. The commands are
described in order of their hexadecimal codes
Select Double-Wide Characters
Prints double-wide characters. The printer is reset to single-wide mode after a line has
been printed or a Clear Printer (10) command is received. It may be used with single-wide
characters on the same line, but not with Single and Double Density Graphics modes.
Hexadecimal Decimal ASCII
12 18 DC2