Cognitive Solutions B780 Real-Time Error Status, Real-Time Cancel Image Transmission, Meaning

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 150
Image 150
Real-Time Error Status

138 Chapter 5: Programming commands

Real-Time Error Status

Hexadecimal: 10 04 03

Parameters: None

Return: 1 byte to be interpreted as follows:

Bit

0

1

2

3

4

5

6

7

Meaning

Fixed to 0

Fixed to 1

1 = jam in path

1 = knife error

Fixed to 1

1 = unrecoverable error

1 = a/d out of range error

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 buffered or in-process image transmission command.

Wait for Scan & Optionally Transmit

Hexadecimal: 1D B8 m p r

Parameters: m = 0 specifies scan only, m = 1 specifies scan and transmit using the configured 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 specifies 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 configured imager port an imager status, followed by a 4 byte file 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.

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Page 150
Image 150
Cognitive Solutions B780 Real-Time Error Status, Real-Time Cancel Image Transmission, Wait for Scan & Optionally Transmit