Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands138
A776 (B780) Programming Guide A776-PG00001 C 12/09
Real-Time Error Status
Hexadecimal: 10 04 03
Parameters: None
Return: 1 byte to be interpreted as follows:
Bit Meaning
0 Fixed to 0
1 Fixed to 1
2 1 = jam in path
3 1 = knife error
4 Fixed to 1
5 1 = unrecoverable error
6 1 = a/d out of range error
7 Fixed to 0
Description: This immediately returns one byte of imager status.
Real-Time Cancel Image Transmission
Hexadecimal: 10 05 06
Parameters: None
Return: None
Description: Use this command if a catastrophic error has occurred and prevents the image processor from
completing a formatting and transmission operation. Issuing this command cancels any buered or in-process image
transmission command.
Wait for Scan & Optionally Transmit
Hexadecimal: 1D B8 m p r
Parameters: m = 0 species scan only, m = 1 species scan and transmit using the congured image format properties
and TIFF tags at the time of the scan ending. When m=0 the application is responsible to send the 1D B6 command
to attach all tags before performing the next scan or transmitting the image. For m=1 the 1D B6 command is handled
internally. p = 1 wait for a document at the back sip entry, p = 2 wait for a document at the top front entry, p = 3 wait
for a document at either entry point. A special top entry option p = 6 is used to scan Cards and Other thick media. r
species document sides to transmit, 0= both, 1= bottom, 2= top.
Return: After a scan this command returns to the command port and if applicable to the congured imager port an
imager status, followed by a 4 byte le length nL nML nMH, nH (little endian sequence = low to high byte), indicating
the size of the optional TIFF that follows: 0 = no image appended.
Note that FileIndex p is the value that will be used for the next bottom scanner image, so it should be decremented by
2 if the scan status S< 7 to retrieve document images that were captured.
1D 49 B8 s m n pL pH rL rH reports the scanner state after scanning if the image is not attached.