M-S Cash Drawer A794 Manuel D’Utilisation

Page de 147
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
98
Select the Current Logo
ASCII
GS # n
Hexadecimal
1D 23 n
Decimal
29 35 n
Range of n:
0 – 255
Selects a 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.
Related Information
This command is recognized only in A794 Native Mode.
In A793 and TM-T88 Emulations, the parameters are put into the print buffer.