CognitiveTPG A799 User Manual
Page 69

Chapter 4: Programming Commands
69
Revision D 12/09
A799-PG00001D
Print downloaded bit image
ASCII
GS / m
Hexadecimal 1D 2F m
Decimal
29 47 m
Value and range of m:
This command is used to print a previously stored monochrome or color logo from printer memory on the receipt station.
The logo is identified as the one indicated by the most recent select current logo command or 0 if a select current logo
command has not yet been given. Parameter m is interpreted as follows:
Value of m Print mode
Vertical DPI Horizontal DPI
0
Normal
203
203
1
Double wide 203
101
2
Double high 101
203
3
Quadruple
101
101
The indexed downloaded bit image from RAM or flash will be printed on the receipt station at a size specified by m. If the
bit image is a monochrome one, it is printed in the current color; otherwise it is printed as a two-color image. If doubling
or quadrupling exceeds the print paper width maximums (576 or 640 with 82.5mm paper) the left side of the image is
printed and the bits to the right of the maximum column are discarded. If the available width is greater than the bit image,
its printing will adhere to any currently set right, left, or center justification. This command is ignored if the index refers to
an undefined logo/ bit image.
Print raster graphics
This command is used to enter and print graphics data.
This command describes operation for 80 mm paper. If the printer supports 82.5 mm paper, the dot spacing is the same but
there are 640 printable dots rather than 576 printable dots on 80 mm paper. .
ASCII
DC1 n1 . . . n1
Hexadecimal 11 n1 . . . n72
Decimal
17 n1 . . . n1r
Value and range of n: n1 to n72/n80 corresponds to one dot row data for a thermal receipt printer.
Each bit defines whether or not a dot of the current color will be printed. This command is used for printing a monochrome
graphic in real-time. Offsets, page and any other modes or overlays, including watermark do not apply and are overridden
by this command. A complete rendering of the intended final image should have been done by the application before
sending the dot rows. If two-color paper is indicated by the set paper type command, then the raster will be printed in the
color that is defined by the set current color command.