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

  • 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 80
Chapter 3: Programming Commands 81
Automatic Status Back
Enable/disable Automatic Status Back (ASB)
ASCII: GS a n
Hexadecimal: 1D 61 n
Decimal: 29 97 n
Range of n: 0 - 255
Default: 0 (ASB disabled)
Enablesordisablesautomaticstatusback(ASB)andspeciesthestatusitems.Thiscommandisabatchmodecommand;
thatis,itisprocessedafterallpriordataintheinputbufferhasbeenprocessed.Theremaybeatimelagbetweenthe
printerreceivingthiscommandandchangingtheASBresponse,dependingonthereceivebuffercontents.
Ifanyofthestatusitemslistedareselected,ASBisenabledandtheprinterautomaticallytransmits4statusbytes
whenevertheselectedstatuschanges.Ifnostatusisselected,ASBisdisabled.Allfourstatusbytesaretransmittedwithout
checkingDSR
Iftheerrorstatusisenabled,achangeinthefollowingconditionswilltriggertheASB:
• CashDrawer
• ReceiptCover
• KnifeError
• Out-of-RangePrintheadTemperature
• Out-of-RangeVoltage
• PaperExhaustStatus
Thebitsofnaredenedinthetable.
Bit O/On Hex Decimal Status for ASB
0 O 00 0 Cash drawer status disabled.
On 01 1 Cash drawer status enabled.
1 O 00 0 RS-232C Busy status disabled.
On 02 2 RS-232C Busy status enabled.
2 O 00 0 Error status disabled.
On 04 4 Error status enabled.
3 O 00 0 Receipt paper roll status disabled.
On 08 8 Receipt paper roll status enabled.
4 O 00 0 Undened.
5 O 00 0 Undened.
6 O 00 0 Undened.
7 O 00 0 Undened.
Zobrazit stránku 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 154 155

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

Žádné komentáře