-
BCT_EAN_128
// EAN 128
BCT_UPC_E1
// UPC E1
BCT_UPC_E1_2SUPPS
// UPC E1 with 2 Supps
BCT_UPC_E1_5SUPPS
// UPC E1 with 5 Supps
BCT_TRIOPTIC_CODE_39
// TRIOPTIC CODE 39
BCT_BOOKLAND_EAN
// Bookland EAN
BCT_COUPON_CODE
// Coupon Code
BCT_STANDARD_2OF5
// Standard 2 of 5
BCT_CODE_11_TELPEN
// Code 11 Telpen
BCT_CODE_32 //
Code
32
BCT_DELTA_CODE
// Delta Code
BCT_LABEL_CODE
// Label Code IV & V
BCT_PLESSEY_CODE
// Plessey Code
BCT_TOSHIBA_CODE
// Toshiba Code China Postal Code
/ Matrix 2 of 5
Return:
UINT: Data
length
2.8 Get length of scanned data
Function Description:
Returns the data length of the scan data. When allocate the memory to hold the scan data, add at
least one additional byte for string terminator.
Function call:
UINT
USI_GetDataLength
();
Return:
UNIT: data
length
2.9 Get Symbology name
Function Description:
Returns the barcode name of the type.
Function call:
LPCTSTR
USI_GetBarcodeName
(
UINT
type,
LPBYTE
buffer
,
UINT
len
);
Parameter: (input)
type:
UINT
: barcode type. (refer to
0
for type definition
buffer:
LPBYTE :
Please refer to below table
Type Buffer
BCT_CODE_39 Code
39
BCT_CODABAR
Codabar
BCT_CODE_128 Code
128
BCT_INTERLEAVED_2OF5
Interleaved 2 of 5
BCT_CODE_93 Code
93
BCT_UPC_A UPC
A
BCT_UPC_A_2SUPPS
UPC A with 2 Supps.
BCT_UPC_A_5SUPPS
UPC A with 5 Supps.
BCT_UPC_E0 UPC
E
BCT_UPC_E0_2SUPPS
UPC E with 2 Supps.
BCT_UPC_E0_5SUPPS
UPC E with 5 Supps.
BCT_EAN_8 EAN
8
BCT_EAN_8_2SUPPS
EAN 8 with 2 Supps.
BCT_EAN_8_5SUPPS
EAN 8 with 5 Supps.
BCT_EAN_13 EAN
13
BCT_EAN_13_2SUPPS
EAN 13 with 2 Supps.