HP Value Serial/USB Receipt Printer II Manual do Utilizador Página 111

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 155
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 110
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
Thiscommanderasesall64Kashmemorysectorsallocatedtouser-denedcharacterandlogosstorage.Thosesectors
shouldbeerasedintwosituations:whenthelogodenitionareaisfullandanapplicationisattemptingtodenenew
logos,andwhenanapplicationwantstoreplaceoneuser-denedcharactersetwithanother.Inbothcases,alllogosand
charactersetdenitionsareerasedandmustberedened.
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 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
Thesecommandsareusedtoloadrmwareintotheprinter.
Thecommandsarelistedinnumericalorderaccordingtotheirhexadecimalcodes.Eachcommandisdescribedandthe
hexadecimal,decimal,andASCIIcodesarelisted.
Therearetwowaystoenterthedownloadmode.
1. Whiletheprinterisrunningnormally,sendthecommand,“Switchtoashdownloadmode”(1B5B7D)toleave
normal operation and enter the download mode.
2. Iftheashiffoundcorruptedduringlevel0diagnosticsthedownloadmodeisautomaticallyenteredaftertheprinter
has reset.
Theprinternevergoesdirectlyfromthedownloadmodetonormalprinteroperation.Toreturntonormalprinteroperation
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.
Vista de página 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 154 155

Comentários a estes Manuais

Sem comentários