
Developers Guide
28 Datalogic™ OPOS Service Object
Device Specific Properties:
DecodeData:
Returns TRUE or FALSE depending on the previous SetProperty call.
ScanData:
Holds the raw scanned data received from the scanner.
ScanData property always has bar code data when a DataEvent is fired. For Tabletop
scanners, the bar code data may be sent across the USB interface as uncompressed
Binary Coded Decimal (BCD), depending upon scanner configuration and bar code
type.
ScanDataLabel:
Holds the scanned and decoded data from the scanner if DecodeData property is
TRUE. If the decoded data did not contain a check digit, the scanner service will add the
check digit to ScanDataLabel for EAN/UPC bar codes.
Contains data if DecodeData is TRUE.
ScanDataType:
Returns scanned data type of the most recent label from the scanner.
Returned value is one of SCAN_SDT_XXXX constants, where XXXX is the type of the
label. Refer to OPOS Scanner header file for the numerical values.
Contains label type if DecodeData is TRUE.
Label type as reported on scanner interface — the scanner assigns a label type identifier
and sends this with the label data across the interface. The Service Object translates this
into one of the OPOS defined label types. For the RS-232 interface, the scanner
configuration must be correctly set for the Service Object to properly identify label type.
Comentarios a estos manuales