Chapter 6: Programming InformationA794 Owner’s Guide
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
n1 + n2 <= 2 (512K) n1 + n2 <= 10 (1M) n1 + n2 <= 18 (2M)
If n1 + n2 is greater than the maximum number of sectors available, the command is ignored.
Issuing this command with parameters different from current parameters will erase all sectors.
Erase User Flash Sector
ASCII | GS @ n | |
Hexadecimal | 1D 40 n | |
Decimal | 29 | 64 n |
Value of n: | 49 | - 50 |
n = 49 (ASCII n = 1)
This command erases all 64K Flash Memory sectors allocated to
n = 50 (ASCII n = 2)
This command erases all sectors available for user data storage.
Erases a page of Flash 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).
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.
134 | December 1999 |