
Chapter 3: Programming Commands 111
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
Thiscommanderasesall64Kashmemorysectorsallocatedtouser-denedcharacterandlogosstorage.Thosesectors
shouldbeerasedintwosituations:whenthelogodenitionareaisfullandanapplicationisattemptingtodenenew
logos,andwhenanapplicationwantstoreplaceoneuser-denedcharactersetwithanother.Inbothcases,alllogosand
charactersetdenitionsareerasedandmustberedened.
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.
Erasesapageofashmemoryandsendsacarriagereturnwhentheoperationiscomplete.
Related information
Seecommand“Flashmemoryusersectorsallocation”(1D2255n1n2).
Seealsocommand“Expandedashmemoryallocation”(1D2280)and“Selectasharea”(1D2281n).
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 with a 0D (Hex). 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.
Lock permanent font ash area
ASCII GS 0xF0 0x10 n
Hexadecimal 1D F0 10 n
Decimal 29 240 16 n
Value of n: n = 0x00 lock permanent font ash (default)
n = 0x01 unlock permanent font ash to erase or delete
This command allows or prevents the permanent font area to be erased.
Note: This only affects the 1D 40 33 commands and downloading a font to permanet font area when a font already exists
with the same ID.
Flash download
Thesecommandsareusedtoloadrmwareintotheprinter.
Thecommandsarelistedinnumericalorderaccordingtotheirhexadecimalcodes.Eachcommandisdescribedandthe
hexadecimal,decimal,andASCIIcodesarelisted.
Therearetwowaystoenterthedownloadmode.
1. Whiletheprinterisrunningnormally,sendthecommand,“Switchtoashdownloadmode”(1B5B7D)toleave
normal operation and enter the download mode.
2. Iftheashiffoundcorruptedduringlevel0diagnosticsthedownloadmodeisautomaticallyenteredaftertheprinter
has reset.
Theprinternevergoesdirectlyfromthedownloadmodetonormalprinteroperation.Toreturntonormalprinteroperation
either the operator must turn the power off and then on to reboot or the application must send a command to cancel
download mode and reboot.
Comentarios a estos manuales