Instruction manual

A758 Owner’s Guide Chapter 7: Programming Guide
September 1999 201
Erase User Flash Sector
ASCII:
GS @
n
Hexadecimal:
1D 40
n
Decimal:
29 64
n
Value of
n
:
49 - 50
Erases a page of Flash Memory and sends a carriage return when the operation is
complete.
n
= 49 (ASCII
n
= 1)
This command erases all sectors available for user-defined characters and
multiple logos. The page should be erased in two situations: when the logo
definition area is full and an application is attempting to define new logos, and
when an application wants to replace one user-defined character set with
another. In both cases, all logos and character set definitions are erased and must
be redefined.
n
= 50 (ASCII
n
= 2)
This command erases all sectors available for user data storage.
Important:
While erasing Flash 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 Flash
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 five seconds after sending
the Erase User Flash Sector (1D 40
n
) command before sending data.