
Chapter 4: Programming Commands114
Revision D 12/09
A799-PG00001D
Select ash area for storing logos and user-dened characters
ASCII GS” 0x81
Hexadecimal 1D 22 81 n
Decimal 29 34 129 n
Value of n: n species
n = 0 select logo/font ash
n = 1 select permanent font ash
n > 1 reserved
Logos and user-dened characters can be stored in either ash area.
Erase user ash sector
ASCII GS @ n
Hexadecimal 1D 40 n
Decimal 29 64 n
Value of n: 49 – 51
n = 49 (ASCII n = 1) HEX 31
This command erases all 64K ash memory sectors allocated to user-dened character and logos storage. Those sectors
should be erased in two situations: when the logo denition area is full and an application is attempting to dene new
logos, and when an application wants to replace one user-dened character set with another. In both cases, all logos and
character set denitions are erased and must be redened.
n = 50 (ASCII n = 2) HEX 32
This command erases all sectors available for user data storage.
n = 51 (ASCII n = 3) HEX 33
This command erases all sectors available for permanent fonts.
Erases a page of ash memory and sends a carriage return when the operation is complete.
Related information
See command “Flash memory user sectors allocation” (1D 22 55 n1 n2).
See also command “Expanded ash memory allocation” (1D 22 80...) and “Select ash area” (1D 22 81 n).
Important: While erasing ash memory, the printer disables all interrupts, including communications. To provide feedback
to the application, the printer responds to the application when the erase is complete. After sending the erase user ash
sector (1D 40 n) command, an application should wait for the response from the printer before sending data. Otherwise,
data will be lost. If an application is unable to receive data, it should wait a minimum of ten seconds after sending the
erase user ash sector (1D 40 n) command before sending data.