The text of a manual · part 11 of 21
Symbol Palm Terminal Scanner System Software Manual: Chapter 3 Barcode Parameter Functions, pages 81 to 89
Pages 81 to 89 of 168, from Symbol Palm Terminal Scanner System Software Manual
The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol SPT-1700
Page 81
Barcode Parameter Functions
ScanSetMsiPlesseyCheckDigits Purpose Determines the number of check digits that are to be inserted at the end of MSI Plessey-encoded data.
Prototype int ScanSetMsiPlesseyCheckDigits ( Word check_digits);
Parameters -> check_digits
Must be one of the following values: ONE_CHECK_DIGIT TWO_CHECK_DIGITS
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments The check digits at the end of the barcode verify the integrity of the data. At least one check digit is always required. Check digits are not automatically transmitted with the data.
See Also ScanGetMsiPlesseyCheckDigits
3-37
Page 82
Symbol Palm Terminal Scanner System Software Manual
UPC/EAN Barcode Parameter Functions Table 3-9 lists the UPC/EAN (European Article Numbering) barcode parameter functions described in this section: Table 3-9. UPC/EAN Barcode Parameter Functions PARAMETER FUNCTION
3-38
PAGE
ScanGetDecodeUpcEanRedundancy
3-39
ScanGetDecodeUpcEanSupplementals
3-40
ScanGetEanZeroExtend
3-41
ScanGetUpcEanSecurityLevel
3-42
ScanGetUpcPreamble
3-43
ScanSetDecodeUpcEanRedundancy
3-44
ScanSetDecodeUpcEanSupplementals
3-45
ScanSetEanZeroExtend
3-47
ScanSetUpcEanSecurityLevel
3-48
ScanSetUpcPreamble
3-50
Page 83
Barcode Parameter Functions
ScanGetDecodeUpcEanRedundancy Purpose When the autodiscriminate UPC/EAN supplementals parameter is selected in the ScanSetDecodeUpcEanRedundancy function, it identifies the number of times a symbol without supplementals is decoded before being transmitted.
Prototype int ScanGetDecodeUpcEanRedundancy ( void);
Returned Status Integer in the range [0...20]. If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetDecodeUpcEanRedundancy
3-39
Page 84
Symbol Palm Terminal Scanner System Software Manual
ScanGetDecodeUpcEanSupplementals Purpose Identifies how UPC or EAN code that includes supplemental characters is being decoded.
Prototype int ScanGetDecodeUpcEanSupplementals ( void);
Returned Status DECODE_SUPPLEMENTALS IGNORE_SUPPLEMENTALS AUTODISCRIMINATE_SUPPLEMENTALS If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetDecodeUpcEanSupplementals
3-40
Page 85
Barcode Parameter Functions
ScanGetEanZeroExtend Purpose Determines whether five leading zeros are being added to decoded EAN-8 symbols.
Prototype int ScanGetEanZeroExtend ( void);
Returned Status Zero=DISABLE >zero=ENABLE If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetEanZeroExtend
3-41
Page 86
Symbol Palm Terminal Scanner System Software Manual
ScanGetUpcEanSecurityLevel Purpose Identifies the number of times the barcode is scanned before being decoded.
Prototype int ScanGetUpcEanSecurityLevel ( void);
Returned Status SECURITY_LEVEL0 SECURITY_LEVEL1 SECURITY_LEVEL2 SECURITY_LEVEL3 If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetUpcEanSecurityLevel
3-42
Page 87
Barcode Parameter Functions
ScanGetUpcPreamble Purpose Identifies whether the specified UPC code is being transmitted with lead-in characters.
Prototype int ScanGetUpcPreamble ( BarType barcodeType);
Parameter -> barcodeType
Must be one of the following values: barUPCA barUPCE barUPCE1
Returned Status One of the following values: NO_PREAMBLE SYSTEM_CHARACTER SYSTEM_CHARACTER_COUNTRY_CODE If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetUpcPreamble
3-43
Page 88
Symbol Palm Terminal Scanner System Software Manual
ScanSetDecodeUpcEanRedundancy Purpose With the autodiscriminate UPC/EAN supplementals option selected, it adjusts the number of times a symbol without supplementals is to be decoded before being transmitted.
Prototype int ScanSetDecodeUpcEanRedundancy ( Word supplemental_redundancy);
Parameters -> supplemental_redundancy Must be an integer in the range [2...20].
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments The range is from two to 20 times. Five or above is recommended when decoding a mix of UPC/EAN symbols with and without supplementals, and the autodiscriminate option is selected.
See Also ScanGetDecodeUpcEanRedundancy
3-44
Page 89
Barcode Parameter Functions
ScanSetDecodeUpcEanSupplementals Purpose Determines how UPC or EAN code that includes supplemental characters is to be decoded.
Prototype int ScanSetDecodeUpcEanSupplementals ( Word supplementals);
Parameters -> supplementals
Must be one of the following values: DECODE_SUPPLEMENTALS IGNORE_SUPPLEMENTALS AUTODISCRIMINATE_ SUPPLEMENTALS
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments Supplementals are two or five characters added to code according to specific format conventions (for example, UPC A+2, UPC E+2, EAN 8+2). Three options are available: !
If you select the decode_supplementals parameter, UPC/EAN symbols that don’t have supplemental characters are not decoded.
!
If you select the ignore_supplementals parameter, UPC/EAN symbols that have supplemental characters are decoded, and the supplemental characters are ignored.
3-45