Save Graphics Buffer As Logo (Colorpos ® ); Background Logo Print Mode (Colorpos ® ) - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

74
Chapter 4: Programming Commands
The geometric location points for this graphic are defined by a rectangular area start position of x bytes from the left edge
and y bytes from the top of the new line and times o bytes wide times p bytes in length. For the case of m =3 (star), the
value passed for o is also used as the implicit p value (passed value is ignored), i.e. a square area. The thickness of the
graphic is defined by q dots. This will form a bit image in a RAM graphics buffer. Subsequent surround graphic commands
can be added into (logical OR process) with expanded size if needed) the graphics buffer until an output action is issued. It
is expected that area left white will then be (usually) filled in with text or other data that is to be printed. Printing starts as
soon as the first line of data or other printout arrives. After this printing is started, any new surround graphics commands
will set the graphics buffer to a merge pending state. Example: Create different size stars and an ellipse around a block of
text.
The graphics buffer is at a frozen state at printer initialization or reset, with blank data in it.
Each the time this command is given, the current color and shade mode values (if any) are used for the surround graphic,
and may be changed before any subsequent surround graphics and/or printing output. This command may be used in page
mode.
Save graphics buffer as logo (ColorPOS
ASCII
GS 0x91 n
Hexadecimal
1D 91 n
Decimal
29 145 n
This command will save all the raster data that is in the working graphics buffer (where surround graphics are formed) as
a logo with index value n. This logo can then be used repeatedly for inserting different text. See the background logo print
command.
There is one working graphics buffer in the printer; its size (and that of the saved logo) is of maximum print width size,
and of sufficient length to store the largest of the surround graphic styles defined since the last buffer "freeze" event.
This command is ignored if the graphics buffer is not in a "merge pending" state. The graphics buffer state will be set to
"frozen" by this command.
Related information
This command is ignored in page mode.
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.
)
®
)
®
A799-PG00001D
Revision D 12/09

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents