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.
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...