Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands72
A776 (B780) Programming Guide A776-PG00001 C 12/09
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 dened. If m = 0 the
color(s) as dened 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 eect 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 ash
memory.
An application might use a high value of m to shade out the logo if the original image has a signicant number of “on”
dots to allow for future foreground print readability.
Note: The old logo size and current justication mode are used to create a new logo image at full paper width size by lling
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
ash.
Merge watermark mode (ColorPOS
®
)
ASCII GS 0x8C n m
Hexadecimal 1D 8C n m
Decimal 29 140 n m
Default 0 (o)
This command will insert the logo m as a repeated background image, similar to printing a visible watermark, into the
print stream. The space between repetitions of this usually shaded logo will be every n*8 dot rows.
n >0 = number of dot rows x8 to skip before repeating the merge action
m species the index value of the logo. If no logo has been dened with this index then the command is ignored.
Note: Horizontal placement of a watermark logo was xed at the time the logo was Shaded or when it was downloaded as
a full width logo for watermark use. This command will be ignored if the current logo is not at full paper width size (see the
apply shading to logo command for preparing logos for watermark use).
The merge process is performed after all other image formation and takes whatever print raster data is ready to be
put on paper. It “adds” (computer logic OR) the mono or color bits to the print row. Generally, if the print dot was to be
white or same color as the watermark dot, the print dot will be the color of the watermark; otherwise it will be black.