Chapter 5: Programming commands
108
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Maximum area specification in page mode
Maximizing the possible area in page mode consumes almost all of free RAM. Without any free RAM, bitmap rotations
and enlargements cannot be performed. Use the user storage status command (1D 97
m n
) to determine the amount
of free memory.
Exceptions
The command is effective only in page mode.
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
×
256)
×
(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
×
256)
×
(vertical or horizontal motion unit)] inches.
Exceptions
This command is effective only in page mode.
If the [(
nL
+
nH
×
256)
×
(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.
Continued . . .
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...