7-128 Chapter 7: Programming Guide
Set Relative Vertical Print Position in Page Mode
ASCII
:
GS \
nL nH
Hexadecimal
:
1D 5C
nL nH
Decimal:
29
92
nL nH
Sets the relative vertical print starting position from the current
position. This command can also change the horizontal and vertical
motion unit. The unit of horizontal and vertical motion is specified by
this command.
This command functions as follows, depending on the print starting
position set by Select Print Direction in Page Mode (1B 54):
•
When the starting position is set to the upper left or lower left of
the printing area, the vertical motion unit (
y
) is used.
•
When the starting position is set to the upper right or lower left of
the printing area, the horizontal motion unit (
x)
is used.
Value:
The value for the horizontal and vertical movement cannot be less than
the minimum horizontal movement amount, and must be in even units
of the minimum horizontal movement amount.
Formulas:
The distance from the current position is set to [(
nL
+
nH
x 256) x
vertical or horizontal motion unit] inches. The amount of movement is
calculated only for the receipt.
When pitch
n
is specified to the movement downward:
nL + nH
x 256 =
n
When pitch
n
is specified to the movement upward (the negative
direction), use the complement of 65536.
When pitch
n
is specified to the movement upward:
nL
+
nH
x 256 – 65536 –
N
Exceptions:
This command is used only in Page Mode, otherwise it is ignored.
Any setting that exceeds the specified printing area is ignored.
Summary of Contents for 7158
Page 1: ...NCR 7158 Thermal Receipt and Impact Printer Release 1 0 Owner s Guide B005 0000 1112 Issue D...
Page 26: ...1 8 Chapter 1 About the Printer...
Page 50: ...3 12 Chapter 3 Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...
Page 110: ...5 28 Chapter 5 Technical Specifications Code Page 437...
Page 111: ...Chapter 5 Technical Specifications 5 29 Code Page 850...
Page 112: ...5 30 Chapter 5 Technical Specifications Code Page 852...
Page 113: ...Chapter 5 Technical Specifications 5 31 Code Page 858...
Page 114: ...5 32 Chapter 5 Technical Specifications Code Page 860...
Page 115: ...Chapter 5 Technical Specifications 5 33 Code Page 863...
Page 116: ...5 34 Chapter 5 Technical Specifications Code Page 865...
Page 117: ...Chapter 5 Technical Specifications 5 35 Code Page 866...
Page 128: ...6 10 Chapter 6 Communication Interface...
Page 286: ...7 158 Chapter 7 Programming Guide...
Page 314: ...Index 8 W Weight of printer 5 36 X XON XOFF protocol 6 6...