CognitiveTPG A760 User Manual

Page 67

Advertising
background image

A760 User Guide: Programming Supplement

Chapter 4: Programming commands

67

Revision F January 2010

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.5 mm 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 monochrome graphics (ColorPOS

®

)

ASCII

GS 0x82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper

Hexadecimal 1D 82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper
Decimal

29 130 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper

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.

Advertising