HP Value Serial/USB Receipt Printer II Bedienungsanleitung Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 155
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
Chapter 3: Programming Commands 109
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user-denedcharacters.
n2isthenumberof64ksectorsusedforuserdatastorage.
n1 + n2 <= 6 (dec) (1M)
n1 + n2 <= 22 (dec) 16 (hex) (2M)
Ifn1+n2isgreaterthanthemaximumnumberofsectorsavailable,thecommandisignored.TheprinterreturnsNACK.
Issuingthiscommandwithparametersdifferentfromcurrentparameterswilleraseallsectors.TheprinterreturnsACK.
Issuingthiscommandwithparametersthesameascurrentparameterswilldonothing.TheprinterreturnsACK.
Note: Flash memory is made up of user and program code. Therefore, the available ash memory space will vary with the
amount of program code utilized.
Flash object area pack
ASCII GS “ ` n1
Hexadecimal 1D 22 60 n1
Decimal 29 34 96 n1
Value of n1: n1 species
n1 = 0 pack the permanent font area
n1 = 1 pack the logo and user-dened character area
Issuingthiscommandwillpacktheobjectscurrentlystoredinashmemory.Objectsthatarenolongervalidwillbe
removed.Thiswillprovidetheuserthemaximumamountofstorageinthisareafornewobjects.
Note: Flash memory is made up of user and program code. Therefore, the available ash memory space will vary with the
amount of program code utilized.
Flash object delete
ASCII GS “ ` n1 n2 (n3)
Hexadecimal 1D 22 61 n1 n2 (n3)
Decimal 29 34 97 n1 n2 (n3)
Value of n1: n1 species
n1 = 01 user-dened character set where n2 is the ID of the user-dened character set to delete. This will delete all
characters found that are part of the specied set.
n1 = 02 logo where n2 is the ID of the logo to delete
n1 = 0C double-byte font where n2 is the font ID and n3 is the font style of the font to delete. This will delete the
double-byte font of the specied ID and style. If no other fonts of the same ID are found, the double-byte
table that corresponds to this ID will be deleted as well.
n1 = 0D POS fontset where n2 is the ID of the fontset to delete. This will delete both fonts specied by the fontset, if
they are not used in any other fontset.
n1 = 0F demo script, which takes no following n parameters. Erases all scripts found, not individual scripts.
Issuingthiscommandwilldeleteanindividualobjectorgroupofobjectsfromashmemory.Theparametern3 is not used
foralltypes.Toreusethespacethattheseobjectsoccupiedinashmemory,aashareapackmustbeperformedafter
deletingtheobject(s).
Note: Flash memory is made up of user and program code. Therefore, the available ash memory space will vary with the
amount of program code utilized.
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 154 155

Kommentare zu diesen Handbüchern

Keine Kommentare