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
Authorize reading of the code type prior to conversion when authorizing code reading with
BHT_EnableBar.
The value acquired with BHT_ReadBar, BHT_GetBarType, BHT_GetBarNum, and BHT_GetBarInfo will
be the value after conversion.
The set value will only be valid within the application in which it is set. Settings are not updated to other
applications.
(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);
98