
D 2 O F 5 I N F O
The D2OF5INFO data structure contains scanner configuration information about D 2 of 5 bar codes. To read these values, applications call scnGetD2of5Info; to set these values, they call scnSetD2of5Info.
typedef struct _D2of5Info
{
unsigned char uchEnable; unsigned char uchLength1; unsigned char uchLength2;
} D2OF5INFO;
Field | Description |
|
|
uchEnable | Enable/disable the ability to scan D 2 of 5 bar | ||
| codes. |
|
|
| Default: SCN_DISABLE |
| |
uchLength1 | Specifies lengths (including check digits) for D 2 | ||
uchLength2 | 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 | Higher Value | Lower Value |
| Range | Min. Value | Max. Value |
| Any length | 0 | 0 |
| Selecting the any length option may lead to mis- | ||
| scans. |
|
|
| Default: 12 (uchLength1) and 0 (uchLength2) |