I 2 O F 5 I N F O

The I2OF5INFO data structure contains scanner configuration information about I 2 of 5 bar codes. To read these values, applications call scnGetI2of5Info; to set these values, they call scnSetI2of5Info.

typedef struct _I2of5Info

{

unsigned char uchEnable; unsigned char uchLength1; unsigned char uchLength2; unsigned char uchChkDgtAlgorithm; unsigned char uchXmitCheckDigit; unsigned char uchCvtI2of5toEAN13;

} I2OF5INFO;

Field

Description

 

 

uchEnable

Enable/disable the ability to scan I 2 of 5

 

bar codes.

 

 

 

Default: SCN_ENABLE

 

uchLength1

Specifies lengths (including check digits)

uchLength2

for I 2 of 5 bar codes. You can specify

 

one or two lengths, a range of lengths, or

 

that any length is valid. Enter values as

 

follows:

 

 

 

Option

uchLength1 uchLength2

 

1 Length

Value

0

 

2 Lengths

High Value

Low Value

 

Range

Min. Value

Max. Value

 

Any length

0

0

 

Selecting the any length option may lead

 

to mis-decodes.

 

 

Default: 14 (uchLength1) and 0

 

(uchLength2).

 

5-12 Programmer’s Manual

Page 166
Image 166
Paxar Gold 6037EX manual I2OF5INFO