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
!
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...