Attach scan application tags, Return imager status – CognitiveTPG B780 User Manual

Page 148

Advertising
background image

Chapter 5: Programming commands

136

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Decimal Value

Definition

297

Reserved for FW Page Number & Number of Pages p1= bottom scanner, p2= top scanner; these
are saved as type = two short integers

305

Application supplied string: Software = version description

306

FW supplied Date & 24 Hour Time of scan: 20 char YYYY:MM:DD:HH:MM:SS; must be application
initialized to start FW time stamping

33432

Application supplied string: Copyright

65000

Reserved for FW auto generated int FileIndex value

65001

Reserved for FW auto saved int of set transmission format parameter (m p r) values

65002

Reserved for FW auto saved raw MICR read string, if MICR present

65003

Reserved for FW auto saved int of entry point: 1 = slip, 2 = front

65004

Reserved for future FW auto saved reporting

65005

Reserved for FW auto save of parsed MICR string (if parsing has been defined)

65007-534

Any other Application set descriptions, usually strings, but any TIFF type


A few tag values that are useful to TIFF readers always have the default values and thus are not repeated in the
returned structure. These are 266, Fill Order = 1; 274, Orientation = 1 (top left is 0,0); and 277, Samples Per Pixel = 1.

Attach Scan Application Tags

Hexadecimal: 1D B6

Parameters: None

Return: 1D 49 B6 m. M is 0 if OK, 1 if the scanned image already has application set tags or there is no last scanned
image.

Description: Attach the current set of application defined tags to the last scanned image. This can be done only once
to each image and allows the application to define tags up to image file transmission time. Note that this action takes
place automatically in the case of the scan command with its parameter set for immediate transmission.

Return Imager Status

Hexadecimal: 1D B7

Parameters: None

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

Value

Definition

1D

Command return indicator

49

Image Scanner

B7

Imaging function = status

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

Continued . . .

Advertising
This manual is related to the following products: