-
2.8. Get length of scanned data
Function Description:
Return 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 code:
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 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.
BCT_EAN_13_5SUPPS
EAN 13 with 5 Supps.
BCT_MSI_PLESSEY
MSI Plessey
BCT_EAN_128
EAN 128
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 or Telpen
BCT_CODE_32
Code 32 (Pharmacy Code)
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)
len:
UINT
: length of string on the 2nd parameter buffer
Return code:
BOOL:
TRUE
: If it found name for the barcode type
FALSE
: If not (type may be wrong
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...