7197 Series II Owner’s Guide
Chapter 6: Commands
August
2011
99
Set Printing Area Width
ASCII
: GS
W
nL nH
Hexadecimal
: 1D
57
nL nH
Decimal:
29 87
nL nH
Range of
nL
:
0 – 255
Range of
nH
:
0 - 255
Default:
80 mm width 576 dots (the maximum printable area)
58 mm width 424 dots (the maximum printable area)
Sets the width of the printing area. If the setting exceeds the printable area, the maximum
value of the printable area is used.
The width of the printing area is set to (((
nH
X
256) +
nL
) times horizontal motion unit)
inches. The horizontal motion units are set by the Set Horizontal and Vertical Minimum
Motion Units command (1D 50).
The width of the printing area follows the Set Left Margin command (1D 4C).
See the Set Left Margin command (1D 4C…) earlier in this document for a description.
Formulas:
To set the width of the printing area to one inch at the default horizontal motion unit of
1/203 inches, send the four-byte string:
GS W 203 0
Or, to set the width of the printing area to two inches at the default horizontal motion unit
of 1/203 units per inch, send the four-byte string:
GS W 150 1
Where 2 inches = 406/203, and 406 = (1 X 256) + 150.
Printable area 576 dots
Left margin
Printing area width
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H57) & Chr$(nL) & Chr$(nH)
Exceptions:
This command is effective only at the beginning of a line.
Summary of Contents for 7197 II SERIES
Page 5: ...v EMC 100 240 1 5 0 8 50 60 24 2 3 3 125 NCR NCR EMC 360 NCR EMC A A...
Page 7: ...vii A NCR NCR NCR A...
Page 35: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 21 September 2011...
Page 37: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 23 September 2011...
Page 38: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 24 September 2011...
Page 253: ...7197 Series II Owner s Guide Appendix B Print Characteristics 228 Februrary 2012 Code Page 932...
Page 272: ...7197 Series II Owner s Guide Appendix B Print Characteristics 247 Februrary 2012...