Справочник Пользователя для M-S Cash Drawer A794

Скачать
Страница из 147
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
128
Set Absolute Vertical Print Position in Page Mode
ASCII
GS $ nL nH
Hexadecimal
1D 24 nL nH
Decimal
29 36 nL nH
Sets the absolute vertical print starting position for buffer character data in Page Mode.
The absolute print position is set to [(nL + nH X 256) x (vertical or horizontal motion
unit)] inches.
The vertical or horizontal motion unit for the paper roll is used and the horizontal
starting buffer position does not move.
The reference starting position is set by Select Print Direction in Page Mode (1B 54). This
sets the absolute position in the vertical direction when the starting position is set to the
upper left or lower right; and sets the absolute position in the horizontal when the
starting position is set to the upper right or lower left. The horizontal and vertical
motion unit are specified by the Set Horizontal and Vertical Minimum Motion Units (1D
50) command.
The Set Horizontal and Vertical Minimum Motion Units (1D 50) command can be used
to change the horizontal and vertical motion unit. However, the value cannot be less
than the minimum horizontal movement amount, and it must be in even units of the
minimum horizontal movement amount.
Formulas
[(nL + nH X 256) x (vertical or horizontal motion unit)] inches.
Exceptions
This command is effective only in Page Mode.
If the [(nL + nH X 256) x (vertical or horizontal motion unit)] exceeds the specified
printing area, this command is ignored.