
A756- 8xxx new commands and features
January 14, 1998 file name 568xcmds.doc page 3 of 11
Axiohm IPB company confidential
Erasing flash
GS @ n Erase flash.
format ASCII GS @ n
Hex 1D 40 n
Decimal 29 64 n
range 49 ≤ n ≤ 50
The printer erases a page of flash and sends a Carriage Return (0x0D) when the erase is
complete.
n = 49 (ASCII ‘1’ only)
This command will erase the entire 64K page available for user-defined characters and multiple
logos. The page needs to be erased in two cases: when the logo definition area is full and an
application wants to define new logos, and when the application wants to replace one user-
defined character set with another. In either case, all character definitions and logos are
erased and must be redefined.
n = 50 (ASCII ‘2’ only)
This command will erase the entire 64K page available for user data storage.
Important application note:
While flash is being erased, the printer must disable all interrupts, including communications.
To provide feedback to the application, the printer responds to the application when the erase
is complete. After sending this command, an application should just wait for the response from
the printer before sending any more data. Data will be lost otherwise. If an application cannot
receive any data for some reason, it should wait a minimum of five seconds after sending a
flash erase command before sending any more data.
Comentarios a estos manuales