Cognitive Solutions A776 Manual De Usuario

Descargar
Página de 192
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 Signifies 
1 Signifies
Receipt paper 
 
OK 
 
Low (only if paper low sensor is enabled) or receipt cover open
Covers open 
 
Both closed 
Either cover is open
Receipt paper 
 
OK 
 
Out
Knife 
 
OK 
 
Error or switch open
Always zero
Slip leading 
 
Not covered 
Covered edge sensor
Slip trailing 
 
Not covered 
Covered edge sensor
Voltage/Temperature Error 
OK 
 
Error
Status Byte (B780 only)
Bit  Function 
 
0 Signifies 
1 Signifies
Receipt paper 
 
OK 
 
Low (only if paper low sensor is enabled)
Receipt paper 
 
OK 
 
Low (only if paper low sensor is enabled)
Receipt paper 
 
OK 
 
Out
Receipt paper 
 
OK 
 
Out
Always zero
Slip leading 
 
Covered 
Not covered 
 
edge sensor
Slip trailing 
 
Covered 
Not covered 
 
edge sensor
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 Definition
Continued . . .