Background Logo Print Mode (Colorpos ® ); Apply Margin Message Mode (Colorpos ® ) - CognitiveTPG A799II Programming Manual

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

Advertisement

80
Chapter 4: Programming Commands
Background logo print mode (ColorPOS
ASCII
GS 0x92 n
Hexadecimal
1D 92 n
Decimal
29 146 n
This command will place into the graphics buffer the logo designated by n. As soon as there is a print action command
(such as text output) the graphics buffer will be merged (logical OR process) with print output.
This command sets the graphics buffer state to "merge pending", functioning and performing the save as in the form and
merge real time surround graphics command.
Related information
This command is ignored in page mode.
Apply margin message mode (ColorPOS
ASCII
GS 0x99 l m n o
Hexadecimal: 1D 99 l m n o
Decimal:
29 155 l m n o
Value of l:
l is a binary switch:
l = 0 disables margin message merging
l = 1 enable left margin message merging
l = 2 enable right margin message merging
l > 2 ignore command
Value of m:
m is the ID (index) of the logo to be used in the merging. If a logo with index m does not exist or is wider
than the print raster width then this command is ignored.
Value of n:
n is the number of raster rows to be empty (skipped) before repeating the designated margin message
merge
Value of o:
o is a right – left toggle switch:
o = 0 no toggling of the margin message merge
o = 1 enable toggling, starting with a left margin message first
o = 2 enable toggling, starting with a right margin message first
o > 2 ignore entire command
This command performs a dynamic merge of a designated logo/margin message (or logo/margin message pair, which can
be the same) into each raster line to be printed after the character data has been placed and in conjunction with any other
active merge modes. The parameter l specifies whether merging should take place from the left side or the right side. A
left side merge followed by a right side merge (or vice-versa) must be issued, with the latter side merge command setting
the toggle switch = 1 or 2 will create the desired left – right printing effect. Each merge side retains its n value of raster
rows to be skipped. If toggling is not selected when both sides are defined, then if the n skip row values are different, or
the logo height sizes are different, the side logos will not line up as printing progresses. If toggling is selected then both
left and right sides merge message(graphic) must be defined; otherwise toggling is ignored.
Each side logo can be > ½ of the raster print line. In that case the printing process is additive in the overlap region. This
command with the first parameter l = 0 turns all margin message merging to off.
)
®
)
®
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents