HP Value Serial/USB Receipt Printer II Uživatelský manuál Strana 58

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 155
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 57
Chapter 3: Programming Commands58
Double-byte fonts
Fivedouble-bytefontsareavailableforuseontheA798IISeriesprinter:SimpliedChinese,TraditionalChinese,Kanji,
KoreanandThai.
TheThaifont(CodePage874)isalreadyavailableasaresidentcodepage.
Thecommandsneededfordownloadingthefontsaredescribedbelowintheorderofuse.BeforedownloadingSimplied
Chinese,TraditionalChinese,Kanji,orKorean,theexpandedashmemoryallocationmustbesetuptoexpandthesize
ofthepermanentfontspace.ForSimpliedChinese,2.2Megofspaceisrequired.TraditionalChineserequires1.3Meg.
Kanjirequires1Meg,andKoreanrequiresof1Megofspaceinthepermanentfontarea.
IftheA798IIissettoUnicode,theVietnamesecharactersetisavailable.
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 permanent font area when a font already exists
with the same ID.
Erase user ash sector
ASCII GS @ n
Hexadecimal 1D 40 n
Decimal 29 64 n
Value of n: 51
n = 49 (ASCII n = 1) HEX 31
Thiscommanderasesall64KFlashMemorysectorsallocatedtouser-denedcharacterandlogosstorageinFlash.
Thosesectorsshouldbeerasedonlyinonesituation:whenthelogodenitionareaisfullandanapplicationisattempting
todenenewlogos.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.Theareamustbeunlockedrstusingthe1DF01001
command above.
Erasesapageofashmemoryandsendsacarriagereturnwhentheoperationiscomplete,oraNAKiferasefails.
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.
Zobrazit stránku 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 154 155

Komentáře k této Příručce

Žádné komentáře