Download Denso 400BW-CE Specifications

Transcript
Member name
bConvertToUPCA
Default
FALSE
bReportNumsys
FALSE
bReportChk
TRUE
Details
Used to convert (TRUE) or not convert (FALSE)
to UPC-A.
Used to add (TRUE) or not add (FALSE) a “0” at
the beginning.
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
bReportNumsys
Default
TRUE
bReportChk
TRUE
Details
Used to add (TRUE) or not add (FALSE) a “0” at
the beginning.
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
bConvertToEAN13
Default
FALSE
Details
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