Chapter 4: Programming Commands112 Revision D 12/09
A799-PG00001D
Select memory type (SRAM/ash) where to save logos or user-dened fonts
ASCII GS “ n
Hexadecimal 1D 22 n
Decimal 29 34 n
Value of n: 48 – 53
n = 48 (ASCII n = 0) HEX 30
Loads active logo to RAM only. This is used to print a special logo but not have it take up ash memory. A logo dened
following this command is not preserved over a power cycle. The printer disables interrupts while writing to ash. Any
command that cause data to be written to ash should be followed by a 50 Msec delay to allow signicant time for the
write operation.
n = 49 (ASCII n = 1) HEX 31
Loads active logo to ash memory. This is the default condition for logo ash storage. A logo dened following this
command is stored in ash memory.
n = 50 (ASCII n = 2) HEX 32
Loads user-dened characters to RAM only. This is the default condition for user-dened character storage. Any user-
dened characters dened following this command are not preserved over a power cycle.
n = 51 (ASCII n = 3) HEX 33
Loads user-dened characters to ash memory. An application must use this command to store user-dened characters in
ash memory. Any user-dened characters dened following this command are stored in ash memory. A user-dened
character cannot be redened in ash memory. The ash memory page must be erased by an application before redening
user-dened characters. For more information, see the erase user ash sector (1D 40 n) command.
Species whether to load the logos or user-dened characters to logo/font ash memory or to RAM (volatile memory).
The selection remains in effect until it is changed via this command or until the power cycles. To specify permanent font
ash, also send 1D 22 81 01.
Related information
This command is recognized in A799 native mode. In A793 and LEGACY emulations, parameter bytes go into the print
buffer.
Flash memory user sectors allocation
ASCII GS “ U n1 n
Hexadecimal 1D 22 55 n1 n2
Decimal 29 34 85 n1 n2
Default Value of n1: 1 (see below)
Default Value of n2: 1 (see below)
n1 is the number of 64k sectors used for logos and user-dened characters.
n2 is the number of 64k sectors used for user data storage.
n1 + n2 <= 6 (dec) (1M)
n1 + n2 <= 22 (dec) 16 (hex) (2M)
If n1 + n2 is greater than the maximum number of sectors available, the command is ignored. The printer returns NACK.
Issuing this command with parameters different from current parameters will erase all sectors. The printer returns ACK.
Issuing this command with parameters the same as current parameters will do nothing. The printer returns ACK.
Note: Flash memory is made up of user and program code. Therefore, the available ash memory space will vary with the
amount of program code utilized.