Define Downloaded Bit Image; Print Downloaded Bit Image - CognitiveTPG A776 Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776:
Table of Contents

Advertisement

In the case of a new application using multiple logos, the select current logo (1D 23 n) command is used. After that, the
printer no longer automatically erases the logo definition flash memory page when it fills with multiple definitions. A
new application using multiple logos, writing a user-defined character set into flash memory, or both, is responsible
for erasing the logo and user-defined character set flash memory page when the logo area is full or before a new
character set is defined.
Exception
This command is only valid for the receipt station, However, it will processed correctly, regardless of whether the
receipt station is currently selected.

Define downloaded bit image

ASCII
GS * n1 n2 d1 ... dn]
Hexadecimal
1D 2A n1 n2 d1 ... dn]
Decimal
29 42 n1 n2 d1 ... dn]
Value of n1:
See the following table
Value of n2:
See the following table
Value of d:
See the following table
Value of n1
1–56 (8 x n1 = number of
horizontal dot columns)
The number of bytes sent is represented by the following formula:
*
n = 8 x n1 x n2 (n1 x n2 must be less than or equal to 4608).
Enters a downloaded bit image (such as a logo) into RAM or flash with the number of dots specified by n1 and n2.
If in RAM, the downloaded bit image is available until power is turned off, another bit image is defined, or initialize
printer (1B 40) command is received.
See the illustration below for a graphic representation of the downloaded bit image.
Related Information
See 1D 22 n (select memory type to store logos and 1D 23 n (select the current logo.)

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
0
Normal
1
Double-wide
2
Double-high
3
Quadruple
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.
A776-PG00001 C 12/09
Value of n2
1–64 (number of vertical bytes)
Vertical DPI
Horizontal DPI
203
203
203
101
101
203
101
101
Chapter 5: Programming commands
Value of d
Bytes of data
(printed down, then across)
A776 (B780) Programming Guide
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

B780

Table of Contents