I 2 o f 5 i n f o – Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual
Page 171

5-12 Programmer’s Manual
I 2 O F 5 I N F O
SCAN1223.LIB only. The I2OF5INFO data structure contains
1223 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
uchLength2
Specifies lengths (including check digits)
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).