Chapter 5: Programming commands 141
A776-PG00001 C 12/09 A776 (B780) Programming Guide
Return: This uses the message structure/protocol transmission format that matches Scan & Transmit except for the
command ID code:
Value Denition
1D Command return indicator
49 Image Scanner
B9 Imaging function = transmit
s Standard imaging status
Decimal Meaning
0 OK
1 Jam detected
2 Wait for scan document cancelled
3 Imager cover open
7 Unrecoverable hardware error
8 No stored document
9 Bottom side only
10 Top side only
11 Internal interface timeout error
12 Internal interface other error
16 No bottom image
17 No top image
18 Unsupported format
19 Tag block full
m Scanning command entry point used: 0 = no outstanding scan, 1 = slip entry, 2 =
top entry
n Sensors currently covered: none = 0 value
Bit 0 =1: rear image sensor covered
Bit 1 =1: front image sensor covered
Bit 2 =1: image cover open
Bit 3=1: casette cover open
Bit 5=1: upper slip sensor covered
Bit 6=1: lower slip sensor covered
pLpH The File Index to be used by the next scan
rLrH Remaining space count of typical document scans to t in image buer free space
4 bytes Scanned image TIFF structure length
TIFF Structure containing the tags and images
Description: This sends back the images at index n in a TIFF structure using the currently congured image format.
Transmission of the image follows the command return header. If only a top (or bottom) scan image is requested then
its TIFF tags will contain the same application set tags as for the other side image, with the only dierence being the
297 tag indicating side and tag 65000 will have its true File Index value.
The TIFF structure always returns all automatic Tags, and should usually include a UserTag and FileID that the host may
have dened and later set to be associated with the image. If n is 0 (current image) and no Attach Scan Identifying Tags
command was given after the scan, then the image le will be formed as if the attachment command had been given
with 0 application set tags.
Continued . . .