A795 User Guide: Programming Supplement
Chapter 4: Programming commands
99
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.
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.
1. This command functions as follows, depending on the
print starting position set by select print direction in
page mode (1B 54):
2. When the starting position is set to the upper right or
lower left of the printing area, the vertical motion unit
(y) is used.
3. When the starting position is set to the upper left or
lower right 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.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...