NCR 7167 Owner's Manual page 142

Two station pos printer release 1.0
Hide thumbs Also See for 7167:
Table of Contents

Advertisement

7167 Owner's Manual
This command is ignored if the line buffer is not empty, and only effects the Receipt
interface.
Set Printing Area Width
Hexadecimal:
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
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
Where 2 inches = 406/203, and 406 = (1 X 256) + 150.
←
←Left margin→
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H57) & Chr$(nL) & Chr$(nH)
Exceptions:
This command is effective only at the beginning of a line.
120
ASCII:
GS W nL nH
1D 57 nL nH
Decimal:
29 87 nL nH
Range of nL:
0 – 255
Range of nH:
0 - 255
Default:
80 mm width
58 mm width
W
203
0
W
150
1
Printable area 576 dots→
←Printing area width→
576 dots (the maximum printable area)
424 dots (the maximum printable area)
November 2002
Chapter 6: Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents