Denso BHT-700-CE Reference Manual page 103

Barcode handy terminal
Table of Contents

Advertisement

Member name
bConvertToUPCA
bReportNumsys
bReportChk
typedef struct _ST_DCD_UPCA_OPTIONS {
bReportNumsys;
BOOL
BOOL
bReportChk;
} ST_DCD_UPCA_OPTIONS, *PST_DCD_UPCA_OPTIONS;
Member name
bReportNumsys
bReportChk
typedef struct _ST_DCD_EAN8_OPTIONS {
BOOL
bConvertToEAN13;
} ST_DCD_EAN8_OPTIONS, *PST_DCD_EAN8_OPTIONS;
Member name
bConvertToEAN13
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);
Default
Details
FALSE
Used to convert (TRUE) or not convert (FALSE)
to UPC-A.
FALSE
Used to add (TRUE) or not add (FALSE) a "0" at
the beginning.
TRUE
Used to add (TRUE) or not add (FALSE) a C/D.
Default
Details
TRUE
Used to add (TRUE) or not add (FALSE) a "0" at
the beginning.
TRUE
Used to add (TRUE) or not add (FALSE) a C/D.
Default
Details
FALSE
Used to convert (TRUE) or not convert (FALSE)
to EAN-13.
98

Advertisement

Table of Contents
loading

Table of Contents