Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands 83
A776-PG00001 C 12/09 A776 (B780) Programming Guide
Transmit paper sensor status
ASCII ESC v
Hexadecimal 1B 76
Decimal 27 118
Values:
Status Byte (A776 only)
Bit Function 0 Signies 1 Signies
0 Receipt paper OK Low (only if paper low sensor is enabled) or receipt cover open
1 Covers open Both closed Either cover is open
2 Receipt paper OK Out
3 Knife OK Error or switch open
4 Always zero
5 Slip leading Not covered Covered edge sensor
6 Slip trailing Not covered Covered edge sensor
7 Voltage/Temperature Error OK Error
Status Byte (B780 only)
Bit Function 0 Signies 1 Signies
0 Receipt paper OK Low (only if paper low sensor is enabled)
1 Receipt paper OK Low (only if paper low sensor is enabled)
2 Receipt paper OK Out
3 Receipt paper OK Out
4 Always zero
5 Slip leading Covered Not covered
edge sensor
6 Slip trailing Covered Not covered
edge sensor
7 Always zero
Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or in a
fault condition. In DTS/DSR protocol, the printer waits for DSR = SPACE.
Related information
See real time commands, in this document for details about fault conditions reporting.
Transmit printer ID
ASCII GS I n
Hexadecimal 1D 49 n
Decimal 29 73 n
Value of n: 1, 49 = Printer model ID
2, 50 = Type ID
3, 51 = ROM version ID
4, 52 = Logo Denition
Continued . . .