Print Downloaded Bit Image; Print Raster Graphics - CognitiveTPG A799II Programming Manual

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

Advertisement

74
Chapter 4: Programming Commands

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 (defined by 1D 2A) 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
0
Normal
203
1
Double wide
203
2
Double high
101
3
Double wide/ 101
Double high
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.
Horizontal DPI
203
101
203
101
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents