HP Value Serial/USB Receipt Printer II Instrukcja Użytkownika Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 155
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
Chapter 3: Programming Commands60
Download font
ASCII GS 0xF0 0x80 followed by le
Hexadecimal 1D F0 80
Decimal 29 240 128
Thiscommandisthesequenceintroducerfordownloadingexistingles.
Thedownloadedfontisalwaysstoredinthepermanentfontareaofash.Ifthereisnotenoughmemoryinthepermanent
fontareatostoretheletheprinterreturnsNACK.
WhentheleisdownloadedtheprinterreturnsACK.
IfthelecontentsareincorrecttheprinterreturnsNACK.Fileformattobedescribedinappendix.
SothefullsequencefordownloadinglesasfontIDCBwouldbe:
1D F0 01 CB
1D F0 80 followed by map le shftjis.chr
1D F0 02 01
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character denition le shftj16.chr
1D F0 02 02
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character denition le shftj24.chr
Graphics
Thesecommandsareusedtoenterandprintgraphicsdataandaredescribedinorderoftheirhexadecimalcodes,unless
otherwise noted.
These commands describe operation for 80mm paper.
Download BMP logo
ASCII: ESC (+*.BMP le)
Hexadecimal: 1B (+*.BMP le)
Decimal: 27 66 77(+*.BMP le)
Value: Maximum width = 576
Maximum height = 512
EntersadownloadedBMPlogointoRAMorash.
ThedownloadedBMPlogocanbeprintedbyusingtheprintdownloadedbitimage(1D2Fm) command.
TodownloadedBMPletosaveitasalogo,sendthehexadecimalcode1BfollowedbythewholeBMPle.
TheprinterdecodestheBMPleheaderandwillsavetheimagedataaftercheckingimportantparameters,suchas:
- Width
- Height
- Number of colors (only monochrome images are accepted)
BMPsandbitimagescontinuetobedenableonlyforthereceiptstation.However,thereisnolongeranautomatic
erasurewhenevertheuserdownloadsacharacterset(ashappenedpreviously)aswellasinthecasewherethecurrent
logowasneverset>0,(theautomaticerasureifuserashmemoryhadlledupwithinactivelogo0denitionsuponnext
powercycle).Warningsabouttheeffectofrunningoutofdenedlogospaceduringadownloadapply(i.e.thecommand
isignored).Theapplicationisrequiredtomanageuserdataspace,downloadedfontspace,andlogospace.
Afterdownloadingalogototheprinter,wait100mstoallowtheprintertimetowritethelogotoash.
Exceptions
BMPleimagesthatarenotmonochromeareputintotheprintbuffer.
Related information
MicrosoftBMPbitmapleformat.
ThiscommandisrecognizedinNativemode.
InA793andLEGACYemulations,theBMPlebytesareputintotheprintbuffer.
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 154 155

Komentarze do niniejszej Instrukcji

Brak uwag