Define Downloaded Bit Image - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision D 10/13
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.
Related information
This command is recognized in A798 native mode and A794 emulation.
In A793 and LEGACY emulations, the parameters are put into the print buffer.

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 n:
Value of n1
1–72 (8 x n1 = number of
horizontal dot columns)
The number of bytes sent is represented by the following formula:
1
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. This bit image will be saved as a monochrome logo indexed by current value that was last
set by the select current logo command or 0 is a select current logo command had not yet been given.
See the illustration below for a graphic representation of the downloaded bit image.
Value of n2
1–64 (number of vertical bytes)
A798-PG00001D
Chapter 4: Programming Commands
Value of d
Bytes of data (printed down, then across)
63

Advertisement

Table of Contents
loading

Table of Contents