A795 User Guide: Programming Supplement
Chapter 4: Commands listed by hexadecimal code
69
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.
n1
n2
n3
...
n72/80
nb1
nb2
nb3
...
nb72/80
All dots parameter
Black dots parameter
n
MSB
LSB
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 =2-color
Max n1 =
576/8 for 80 mm paper
or 640/8 for 82.5 mm paper
The lastest value from the set current logo command will
be the logo index to be used to store the downloaded
graphic.
m identifies whether the image is monochrome (which
requires one parameter bit row description) or 2-color,
which requires a pairing of bit descriptions for each row.
n1 * n2 define a rectangular image n1 bytes wide and n2
bytes long. n1*8 specifies the number of dot columns, and
n2*8 the number of dot rows. That is, each row is defined
by an integral number of bytes and the number of rows is
also an integral number of bytes. Note that n2 can be any
length, subject to memory space availability.
For each color dot row starting at the top left, a two part
parameter byte string is used to define first, all dots that
are not white, and the second half defines all dots where
the color = black. Thus all dots that are on (=1) in the first
half but not on in the second half select the paper-color. A
sequence of these raster row strings is used to specify the
complete logo. In the monochrome case, only one bit is
needed per row. This is the same structure as used for the
definitions of print raster monochrome graphics and print
raster color graphics.
This command is used for storing a logo of n1 by n2 size
indexed by the current logo value.
Содержание 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...