Chapter 5: Programming commands
62
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Print raster monochrome graphics (ColorPOS
®
)
ASCII
GS 0x82
n1…..n72
(576 dots) for 80 mm paper, or
n80
(640 dots) for 82.5 mm paper
Hexadecimal
1D 82
n1…..n72
(576 dots) for 80 mm paper, or
n80
(640 dots) for 82.5 mm paper
Decimal
29 130
n1…..n72
(576 dots) for 80 mm paper, or
n80
(640 dots) for 82.5 mm paper
Value and range of
n:
n1 to n72/n80
corresponds to one dot row data for a thermal receipt printer.
Each bit defines whether or not a dot of the current color will be printed. This command is used for printing a
monochrome graphic in real-time. Offsets, page and any other modes or overlays, including watermark do not apply
and are overridden by this command. A complete rendering of the intended final image should have been done by the
application before sending the dot rows.
If two-color paper is indicated by the set paper type command, then the raster will be printed in the color that is
defined by the set current color command.
Print raster color graphics (ColorPOS
®
)
ASCII
GS 0x83
n1…..n144
(576 dots 80 mm paper)
/ n160
(640 dots, 82.5 mm paper)
Hexadecimal
1D 83
n1…..n144
(576 dots 80 mm paper)
/ n160
(640 dots, 82.5 mm paper)
Decimal
29 13
n1…..n144
(576 dots 80 mm paper)
/ n160
(640 dots, 82.5 mm paper)
Value and range of
n:
n1 to n144 / n160
corresponds to one dot row data.
For each printed dot row starting at the top left, two-part bit strings are used to define (in the first half), all dots that
are of either color (i.e. not white). The second half string defines only the dots where the color = black. Thus all dots
which are on in the first half string but not on in the second half string, select the secondary color. The parameter of
this command is thus a string of bytes for one dot row with the same structure as defined for the thermal color format
file given in the download color
logo command.
This command is used for printing a single raster of color graphics in real-time. Offsets, page and any other modes or
overlays, including watermark, and current color do not apply to this command. A complete rendering of the intended
final image has to be done by the application before sending the dot rows.
Download logo image (ColorPOS
®
)
ASCII
GS 0x84
m n1 n2 d1…..dx
,
x
= (n1 * n2*8 ) * m
Hexadecimal
1D 84
m n1 n2 d1…..dx
,
x
= (n1 * n2*8 ) * m
Decimal
29 132
m n1 n2 d1…..dx
,
x
= (n1 * n2*8 ) * m
Value of
m:
1 = monochrome
2 = two-color
Max
n1
=
576/8 for 80 mm paper or
640/8 for 82.5 mm paper
!
Содержание 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...