Print Advanced Raster Graphics; Select Double-Density Graphics; Print Flash Logo; Define Flash Logos - CognitiveTPG A776 ColorPOS Programming Manual

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

Advertisement

60
Chapter 5: Programming commands

Define Flash Logos

ASCII
FS q n [xL xH yL yH d1 ...dk]1...[xL xH yL yH d1 ...dk]n
Hexadecimal 1C 71 n [xL xH yL yH d1 ...dk]1...[xL xH yL yH d1 ...dk]n
Decimal
28 113 n [xL xH yL yH d1 ...dk]1...[xL xH yL yH d1 ...dk]n
Define n flash logos specified by IDs 1 through n. Maximum size of logos is determined by
amount of flash allocated to logos. See command 1D 22 80... for flash allocation.The select slip
command x/C must be disabled via 1F 03 38 00 to use this logo command.
0 < xH:xL < 1024 max printable xH:xL = 72 = 576 dots wide
0 < yH:yL < 256
For each logo definition: xH:xL times 8 dots in the horizontal direction, yH:yL times 8 dots
in the vertical direction. Total data definition bytes k = xH:xL times yH:yL times 8 bytes. See
command 1D 2A x y ... for description of data definition bytes arrangement.
During execution of this command printer turns off USM and Real Time status processing. The
printer goes busy when writing to flash. At the end of this command the printer resets.
Select the current logo (downloaded bit image)
ASCII
GS # n
Hexadecimal
1D 23 n
Decimal
29 35 n
Range of n:
0 – 255
Default:
0
Selects a color or monochrome logo to be defined or printed. The active logo n remains in use until this command is
sent again with a different logo n.
When this command precedes a logo definition, that definition is stored in flash memory as logo n. If there is already
a different definition in flash memory for logo n, the first is inactivated and the new definition is used. The inactive
definition is not erased from flash and continues to take up space in flash memory.
When this command precedes a logo print command and n is different from the previously active logo selected, the
printer retrieves the logo definition for n from flash memory and prints it. If there is no definition for logo n, then no
logo is printed.
In the case of a previously existing application that expects only one possible logo, the printer will not receive the
select current logo (1D 23 n) command. In this case, the printer assigns 0 as the active logo identifier. It automatically
stores any new logo definition in flash memory as logo 0, inactivating any previous logo 0 definition. If the flash
memory space available for logos fills up with inactive logo 0 definitions, the firmware erases the old definitions at the
next power cycle. This is the only case in which the printer erases flash memory without an application command.
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 be processed correctly, regardless of whether the
receipt station is currently selected.
A776 (B780) Programming Guide
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents