CognitiveTPG A776 ColorPOS Programming Manual page 75

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

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.
Monochrome shade mode (ColorPOS
ASCII
GS 0x86 m
Hexadecimal
1D 86 m
Decimal
29 134 m
This applies a selected shade density to all monochrome objects such as text and monochrome logos. The parameter
m specifies the shading effect and has an initial value of 0 which signifies no effect.
m specifies the percentage of shading, 0 <= m <= 100.
m = 0 is the initial value and turns this mode off.
Note: Only a few gradations will be perceptible, so large increments of m, such as 20, should be used. If a reverse print mode
is on, the shade effect will be applied to the background only.
When the current color mode is set to black, increasing values of m relate to the relative amount of (white) paper that
replaces black dots. Analogously, when the paper-color is the current color, m defines the relative amount of color dots
being "erased" by white originals of the paper.
Both text and monochrome graphics are affected by this command.
Turning monochrome shade mode on, turns color shade mode off.
A776-PG00001 D 07/13
)
®
Chapter 5: Programming commands
A776 (B780) Programming Guide
63

Advertisement

Table of Contents
loading

Table of Contents