Chapter 5: Programming commands
38
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Set column
ASCII
ESC DC4
n
Hexadecimal
1B 14
n
Decimal
27 20
n
Value of
n:
Receipt -
1–44 = Standard pitch
1–56 = Compressed pitch
Slip -
1–66 = Standard pitch
1–80 = Compressed pitch
Default of
n:
1
Prints the first character of the next print line in column
n
. It must be sent for each line not printed at column one. The
value of
n
is set to one after each line.
Exceptions
This command cannot be used with single- or double-density graphics.
Set absolute starting position
ASCII
ESC $
n
1
n
2
Hexadecimal
1B 24
n
1
n
2
Decimal
27 36
n
1
n
2
Value of
n:
n
= Number of dots to be moved from the beginning of the line.
n
1 = Remainder after dividing
n
by 256.
n
2 = Integer after dividing
n
by 256.
The values for
n1
and
n2
are two bytes in low byte, high byte word orientation.
Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the line.
The print starting position is reset to the first column after each line.
Formulas
Determine the value of n by multiplying the column for the absolute starting position by 10 (slip, or receipt standard
pitch) or 8 (receipt compressed pitch). The example shows how to calculate column 29 (10 dots per column) as the
absolute starting position.
28 x 10 =
280 dots (beginning of column 29)
280/256 =
1, remainder of 24
n
1 = 24
n
2 =
1
Related information
This command is also used in the graphics mode on the receipt. See graphic commands in this chapter for more
information.
If the set horizontal and vertical motion units command (1D 50) is used to change the horizontal and vertical minimum
motion unit, the parameters of this command (set relative print position) will be interpreted accordingly. For more
information, see the description of the command set horizontal and vertical minimum motion units command (1D 50)
in this document.
Set vertical line spacing to 1/6 inch
ASCII
ESC 2
Hexadecimal
1B 32
Decimal
27 50
Default:
3.33 mm (0.13”)
Sets the default line spacing to 4.25 mm (1/6 of an inch).
Line spacing is set for the station or stations selected by the command 1B 63 31 n .
Содержание 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...