Set Relative Vertical Print Position In Page Mode - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

7-128 Chapter 7: Programming Guide

Set Relative Vertical Print Position in Page Mode

ASCII:
Hexadecimal:
Decimal:
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.
GS \ nL nH
1D 5C nL nH
29 92 nL nH

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents