Cognitive Solutions B780 Manuale Utente

Pagina di 192
Chapter 5: Programming commands
88
A776 (B780) Programming Guide 
A776-PG00001 C 12/09
Printer status (n = 1 or n = 49)
Bit  Off/On  Hex  Decimal  Status for transmit status
Off 
00 
Receipt paper adequate. 
 
On 
01 
Receipt paper low.
Off 
00 
Receipt paper adequate. 
 
On 
02 
Receipt paper low.
Off 
00 
Receipt paper present. 
 
On 
04 
Receipt paper exhausted.
Off  
00  
Receipt paper present. 
 
On 
08 
Receipt paper exhausted.
Off 
00 
Not used. Fixed to off.
Off 
00 
Slip leading edge sensor:  
 
 
 
 
paper present. 
 
On  
20 
32 
Slip leading edge sensor: 
 
 
 
 
no paper.
Off 
00 
Slip trailing edge sensor:  
 
 
 
 
paper present. 
 
On  
40 
64 
Slip trailing edge sensor: 
 
 
 
 
no paper.
Off 
00 
Not used. Fixed to off.
Cash drawer status (n = 2 or n = 50)
Bit  Off/On  Hex  Decimal  Status for transmit status
Off 
00 
One or both cash drawers open. 
 
On 
01 
Both cash drawers closed.
Off 
00 
One or both cash drawers open. 
 
On 
02 
Both cash drawers closed.
– 
– 
– 
Undefined
– 
– 
– 
Undefined
Off 
00 
Not used. Fixed to off.
– 
– 
– 
Undefined.
– 
– 
– 
Undefined.
Off 
00 
Not used. Fixed to off.
Slip paper status (n = 3 or n = 51)
Value of byte   Slip Status 
returned 
There is no more printing space on the current slip, or the slip paper is not selected.
1 to 8 
Remaining print area on the current slip, in number of lines, at the currently set line spacing, when the 
trailing edge sensor has become uncovered.  Until the trailing edge sensor becomes uncovered the value 
reported will be 6, because there are at least 9 lines remaining.
Continued . . .