beautypg.com

Paxar Gold 6037EX User Manual

Page 159

background image

Data Structure Reference 5-5

C O D E 3 9 I N F O

The CODE39INFO data structure contains scanner configuration
information about Code 39 bar codes. To read these values,
applications call scnGetCode39Info; to set these values, they
call scnSetCode39Info.

typedef struct _Code39Info

{

unsigned char uchEnable;

unsigned char uchEnableTrioptic;

unsigned char uchCvtC39toC32;

unsigned char uchEnableC32Prefix;

unsigned char uchLength1;

unsigned char uchLength2;

unsigned char uchVerifyCheckDigit;

unsigned char uchXmitCheckDigit;

unsigned char uchEnableFullASCII;

} CODE39INFO;

Field Description

uchEnable

Enable/disable the ability to scan Code 39

bar codes.

Default: SCN_ENABLE

uchEnableTrioptic

Enable/disable the ability to scan Trioptic

Code 39 bar codes. Do not enable

uchEnableTrioptic and uchEnableFullASCII

at the same time.

Default: SCN_DISABLE

uchCvtC39toC32

Enable/disable the ability to convert Code

39 bar codes to Code 32 bar codes. You

must enable uchEnable when enabling this

parameter.

Default: SCN_DISABLE