Revision D 12/09Chapter 4: Programming Commands  67

Select the current logo

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 or RAM 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 or RAM 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.

Related information

This command is recognized in A799 native mode and A794 emulation.

In A793 and LEGACY emulations, the parameters are put into the print buffer.

A799-PG00001D

Page 67
Image 67
Cognitive Solutions A799 manual Select the current logo, GS # n