Shade And Store Logo (Colorpos ® ); Logo Print With Knife Cut - CognitiveTPG A799II Programming Manual

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

Advertisement

Shade and store logo (ColorPOS
ASCII
GS Ox9A n m o
Hexadecimal
1D 9A n m o
Decimal
29 154 n m o
Value of n:
n is ID (logo index value) of an existing logo in either flash or RAM memory
Value of m:
m is the % of shading to be applied to the logo, 0 <= m <=100.
Value of o:
o is the new ID (logo index value) to be used to store the shaded result, according to the current setting of
user storage into flash or RAM.
This command applies shading to an existing logo of any size, storing the result in a new logo at index o. The new logo
is thus better suited for use in a merging mode. The % of shading will have only a few perceptible gradations, so large
increments (20 is suggested) should be used to achieve visibly distinct effects.

Logo print with knife cut

ASCII
GS 0x9B m n
Hexadecimal
1D 9B m n
Decimal
29 155 m n
Values of m:
0 = Standard size
1 = Double wide
2 = Double high
3 = Double high/wide
Value of n:
01 - FF (Hex)
# dot rows = n x 24
n = 5 is the recommended setting
Because the printhead and cutting knife are physically separated, it is necessary to advance the printed area of a receipt
past the knife to avoid the last of the printing from being cut off. This advance of paper however, causes a blank space at
the start of the next receipt that could be used. To utilize this space and reduce paper usage, this command starts to print
a logo for the next receipt before initiating the cut at the end of the current receipt. At a set location during the printing of
the logo, the corresponding paper advance is stopped and a paper cut performed.
The formula "n x 24" is used to determine the number of dot rows to move the paper from the start of the logo to the
position of the cut.
If n x 24 is greater than the height of the logo, the logo height is used to determine the cut position. If n = 0 the cut is
eliminated.
In order for this command to function properly, all commands used by legacy applications to move the end of the current
receipt past the knife should be removed.
The command is available only in Native mode.
Related information
See "Print downloaded bit image" command.
)
®
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
81

Advertisement

Table of Contents
loading

Table of Contents