Apply Shading To Logo (Colorpos ® ); Merge Watermark Mode (Colorpos ® ) - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

Apply shading to logo (ColorPOS
ASCII
GS Ox8B 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.
Merge watermark mode (ColorPOS
ASCII
GS Ox8C n m
Hexadecimal
1D 8C n m
Decimal
29 140 n m
Default
0 (off )
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 specifies the index value of the logo. If no logo has been defined with this index then the command is ignored.
Note: Horizontal placement of a watermark logo was fixed 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.
)
®
)
®
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
77

Advertisement

Table of Contents
loading

Table of Contents