Specifications

Member name Default Details
bConvertToUPCA FALSE Used to convert (TRUE) or not convert (FALSE)
to UPC-A.
bReportNumsys FALSE Used to add (TRUE) or not add (FALSE) a “0” at
the beginning.
bReportChk TRUE Used to add (TRUE) or not add (FALSE) a C/D.
typedef struct _ST_DCD_UPCA_OPTIONS {
BOOL bReportNumsys;
BOOL bReportChk;
} ST_DCD_UPCA_OPTIONS,
*PST_DCD_UPCA_OPTIONS;
Member name Default Details
bReportNumsys TRUE Used to add (TRUE) or not add (FALSE) a “0” at
the beginning.
bReportChk TRUE Used to add (TRUE) or not add (FALSE) a C/D.
typedef struct _ST_DCD_EAN8_OPTIONS {
BOOL bConvertToEAN13;
} ST_DCD_EAN8_OPTIONS,
*PST_DCD_EAN8_OPTIONS;
Member name Default Details
bConvertToEAN13 FALSE Used to convert (TRUE) or not convert (FALSE)
to EAN-13.
Notes
The acquired value will be the value set at that application.
(Ex.) The following settings are used in order to convert UPC-E codes to UPC-A codes.
ST_DCD_UPCE_OPTIONS stOptions;
DWORD dwLen = sizeof(stOptions);
BHT_EnableBar(TEXT(“FB”), TEXT(“A:C”);
…………
/* Acquires current setting */
BHT_BAR_GetDecodeOptions(enOptionsUPCE, (LPVOID)&stOptions, &dwLen);
/* Authorizes conversion to UPC-A */
stOptions.bConvertToUPCA = TRUE;
BHT_BAR_SetDecodeOptions(enOptionsUPCE, (LPVOID)&stOptions, dwLen);
100