Chapter 5: Programming commands
64
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Color shade mode (ColorPOS
®
)
ASCII
GS 0x87
m
Hexadecimal
1D 87
m
Decimal
29 135
m
This applies a mixing of color into any monochrome objects such as text and monochrome logos. Rather than fading
away, this mode transitions a character or logo from the current color in which it would normally be printed to the
other color. 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
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 paper-color that
replaces black dots. Analogously, when the paper-color is the current color,
m
defines the relative amount of black
color dots replacing the paper-color ones.
Both text and monochrome graphics are affected by this command.
Turning color shade mode on, turns monochrome shade mode off.
Logo print with color plane swap (ColorPOS
®
)
ASCII
GS 0x89
n m
Hexadecimal
1D 89
n m
Decimal
29 137
n m
This command will print logo
n
. The command is ignored if a logo with index
n
has not been defined. If
m
= 0 the
color(s) as defined in the logo is (are) used; if
m
= 1 and if the logo is a color one, then the two color planes (black and
paper-color) in the logo are swapped.
Apply shading to logo (ColorPOS
®
)
ASCII
GS 0x8B
n m o
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.
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...