HP Value Serial/USB Receipt Printer II Manual de usuario Pagina 74

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 73
Chapter 3: Programming Commands74
Transmit status
ASCII GS r n
Hexadecimal 1D 72 n
Decimal 29 114 n
Value of n: 1, 49 = printer status
2, 50 = cash drawer status
4, 52 = Flash memory user sector status
Transmitsthestatusspeciedbyn. This is a batch mode command which transmits the response after all prior data in the
receivebufferhasbeenprocessed.Theremaybeatimelagbetweentheprinterreceivingthiscommandandtransmitting
theresponse,dependingonthereceivebufferstatus.
WhenDTR/DSRRS-232Ccommunicationshandshakingcontrolisselected,theprintertransmitstheonebyteresponse
onlywhenthehostsignalDSRindicatesitisreadytoreceivedata.
WhenXON/XOFFRS232Ccommunicationshandshakingcontrolisselected,theprintertransmitstheonebyteresponse
regardlessofthehostsignalDSR.
Thestatusbytestobetransmittedaredescribedinthethreetablesbelowandonthenextpage.
Exceptions
UnliketheA793,thathadadedicatedconnectorandresultantdedicatedstatusreportingforeachcashdrawer,theA798II
hasasingleconnectorthatsharesdatareportingfromeithercashdrawer.Wheneithercashdrawerisopen,anopenstatus
isreportedbytheprinter.
Printer status (n = 1 or n = 49)
Bit O/On Hex Decimal Status for transmit status
0 O 00 0 Paper present.
On 01 1 Paper exhausted.
1 O 00 0 Cover closed.
On 02 2 Cover open.
2 O 00 0 Paper present.
On 04 4 Paper exhausted.
3 – Undened.
4 O 00 0 Not used. Fixed to o.
5 – Undened.
6 – Undened.
7 O 00 0 Not used. Fixed to o.
Cash drawer status (n = 2 or n = 50)
Bit O/On Hex Decimal Status for transmit status
0 O 00 0 One or both cash drawers open.
On 01 1 Both cash drawers closed.
1 O 00 0 One or both cash drawers open.
On 02 2 Both cash drawers closed.
2 – Undened.
3 – Undened.
4 O 00 0 Not used. Fixed to o.
5 – Undened.
6 – Undened.
7 O 00 0 Not used. Fixed to o.
Vista de pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 154 155

Comentarios a estos manuales

Sin comentarios