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

Скачать
Страница из 147
A794 Owner’s Guide
Chapter 6: Programming Information
December 1999
129
Set Relative Vertical Print Position in Page Mode
ASCII
GS \ nL nH
Hexadecimal
1D 5C nL nH
Decimal
29 92 nL nH
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.
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):
1.
 
When the starting position is set to the upper left or lower left of the printing area,
the vertical motion unit (y) is used.
2.
 
When the starting position is set to the upper right or lower left of the printing area,
the horizontal motion unit (x) is used.
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 paper roll.
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.