Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands88
A776 (B780) Programming Guide A776-PG00001 C 12/09
Printer status (n = 1 or n = 49)
Bit O/On Hex Decimal Status for transmit status
0 O 00 0 Receipt paper adequate.
On 01 1 Receipt paper low.
1 O 00 0 Receipt paper adequate.
On 02 2 Receipt paper low.
2 O 00 0 Receipt paper present.
On 04 4 Receipt paper exhausted.
3 O 00 0 Receipt paper present.
On 08 8 Receipt paper exhausted.
4 O 00 0 Not used. Fixed to o.
5 O 00 0 Slip leading edge sensor:
paper present.
On 20 32 Slip leading edge sensor:
no paper.
6 O 00 0 Slip trailing edge sensor:
paper present.
On 40 64 Slip trailing edge sensor:
no paper.
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.
Slip paper status (n = 3 or n = 51)
Value of byte Slip Status
returned
0 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 . . .