Programmers Guide
TH320/420
52
Download logo image
ASCII
GS 0x84 m n 1 n2 d 1…..dx , x = (n1 * n2*8 ) * m
Hexadecimal
1D 84 m n 1 n2 d 1…..dx , x = (n1 * n2*8 ) * m
Decimal
29 132 m n 1 n2 d 1…..dx , x = (n1 * n2*8 ) * m
Value of m
1 = monochrome
2 = two-color
Max n 1 =
576/8 for 80 mm paper or 640/8 for 82.5 mm paper
The latest 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 two-
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.
After downloading a logo to the printer, wait 100 ms to allow the printer time to write the logo to flash.
Apply shading to logo
ASCII
GS 0x8B n m
Hexadecimal 1D 8B n m o
Decimal
29 139 n m o
This command will apply shading effect m to logo n and store it at index o, also extending width to full
horizontal size if logo n is not at full paper width.
n must be the index value of an existing logo 0 <= m <= 100, possibly resulting in a logo suitable for
background watermark mode use
o
can be any value, and the logo will be placed according to the current
setting of user storage into RAM or flash memory.
An application might use a high value of
m
to shade out the logo if the original image has a significant
number of “on” dots to allow for future foreground print readability.
Note
The old logo size and current justification mode are used to create a new logo image at full paper
width size by filling in white space at either or both sides if needed. This new logo will provide for
minimal performance impacts when it is selected for use in watermark mode.
After sending the shading command, wait 5 seconds to allow the printer to apply the shading and write
the results to flash.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...