Cognitive Solutions B780 Imaging Commands, Calibrate Scanner, Hexadecimal ID B0 Parameters None

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 144
Image 144
Imaging Commands

132 Chapter 5: Programming commands

Imaging Commands

In these descriptions, the commands and parameters are given in hexadecimal unless otherwise noted.

Calibrate Scanner

Hexadecimal: ID B0

Parameters: None

Return: 1D 49 B0 s m n pL pH rL rH

Value

Definition

 

 

 

 

1D

Command return indicator

49

Image Scanner

 

B0

Imaging function = calibrate

 

 

 

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

Active Scanning command entry points: 0 = no outstanding scan; 1 = slip entry; 2= top entry; 3 =

 

waiting at both

 

 

 

n

Sensors currently covered / closed: none = all bits off; bit0 = imager rear detect; bit1 = imager front

 

detect; bit 2 = imager cover; bit 3 = cassette cover; bit5= upper slip detect; bit6= lower slip detect

 

 

pLpH

The File Index to be used by the next scan

 

 

rLrH

Remaining space count of typical document scans to fit in image buffer free space

Description: This adjustment will be done originally at kit or factory install and should be done any time after cleaning both the top and bottom scan windows. Using the top entry point, a bright white document (new office paper, not recycled) is inserted, allowing the scanner to set the LED illumination current and individual range compensation

for each pixel. These values will be used to get full-range readings on subsequent scans. A standard imager status structure is returned, with the Status byte indicating if all the imager hardware is OK or if the test document has jammed.

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Page 144
Image 144
Cognitive Solutions B780, A776 Imaging Commands, Calibrate Scanner, Hexadecimal ID B0 Parameters None, Value, Definition