HP Value Serial/USB Receipt Printer II Manuel d'utilisateur Page 110

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 155
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 109
Chapter 3: Programming Commands110
Expanded ash memory allocation
ASCII GS “ 0x80
Hexadecimal 1D 22 80
Decimal 29 34 128
Thissequenceofcommandsisusedtospecifythenumberofashsectorstobeusedfordifferentapplications.Thebegin
andendsequencecommandsmustbesent.Allareasdonotneedtohaveashsectorsspecied.
Thecommandtorequestthenumberofusersectorsisoptional.
IfmoresectorsarespeciedthanareavailablethecommandsequenceisignoredandtheprinterreturnsNACK.
Ifthesectorsareavailable,anddifferentfromcurrentparameters,allsectorsareerasedandtheprinterreturnsACK.
Ifthesectorsspeciedarethesameascurrentparameters,nothingiserasedandtheprinterreturnsACK.
1D228000 requestnumberofusersectorsavailable,printerreturnsnLnH
1D228030 beginexpandedashmemoryallocationsequence
1D228031nLnH nsectorstologo/fontarea
1D228032nLnH nsectorstouserdatastoragearea
1D228033nLnH nsectorstopermanentfontarea
1D228034nLnH nsectorstoelectronicjournalarea
1D228040 endexpandedashmemoryallocationsequence
n=0xFFFFmeansallocateallremainingsectorstothisarea;onlyoneareacanspecifythisparametervalue.
Select ash area for storing logos and user-dened characters
ASCII GS” 0x81
Hexadecimal 1D 22 81 n
Decimal 29 34 129 n
Value of n: n species
n = 0 select logo/font ash
n = 1 select permanent font ash
n > 1 reserved
Logosanduser-denedcharacterscanbestoredineitherasharea.
Return ash area size
ASCII GS” 0x90
Hexadecimal 1D 22 90 n
Decimal 29 34 144 n
Value of n: n species
n = 0 select logo/font ash
n = 1 select permanent font ash
n > 1 reserved
Returnsthesizefortheselectedasharea.
Vue de la page 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 154 155

Commentaires sur ces manuels

Pas de commentaire