NCR 7167 Owner's Manual page 141

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

Advertisement

7167 Owner's Manual
Set Left Margin
Sets the left margin of the printing area. The left margin 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), described in this manual.
The width of the printing area is set by the Set Printing Area Width command (1D 57),
which follows this command. See the Set Printing Area Width command (1D 57) in this
document for a description of that command.
If the setting exceeds the printable area, the maximum value of the printable area is used.
The maximum printable area is 576 dots. See the illustration.
Formulas:
To set the left margin to one inch at the default horizontal motion unit of 1/203 inches,
send the four-byte string:
GS
Or, to set the left margin 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.
←- Printable area: 576 dots for 80 mm width, 424 dots for 58 mm width
→
←Left margin→
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H4C) & Chr$(nL) & Chr$(nH)
Exceptions:
The command is effective only at the beginning of a line.
ASCII:
GS L nL nH
Hexadecimal:
1D 4C nL nH
Decimal:
29 76 nL nH
Range of nL:
0 - 255
Range of nH:
0 - 255
Default:
80 mm width
58 mm width
L
203
0
L
150
1
576 dots (the maximum printable area)
424 dots (the maximum printable area)
←Printing area width→
November 2002
Chapter 6: Commands
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents