The text of a manual · part 14 of 21
Symbol Palm Terminal Scanner System Software Manual: Chapter 4 Hardware Parameter Functions, pages 107 to 116
Pages 107 to 116 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 107
Hardware Parameter Functions
ScanGetLaserOnTime Purpose Identifies the maximum scanner processing time allowed during a scan.
Prototype int ScanGetLaserOnTime ( void);
Returned Status Integer in the range [5...99], representing a time period of 0.5 to 9.9 seconds, in 0.1-second increments. If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetLaserOnTime
4-11
Page 108
Symbol Palm Terminal Scanner System Software Manual
ScanGetLinearCodeTypeSecurityLevel Purpose Identifies the number of times the barcode is scanned before being decoded.
Prototype int ScanGetLinearCodeTypeSecurityLevel ( void);
Returned Status SECURITY_LEVEL1 SECURITY_LEVEL2 SECURITY_LEVEL3 SECURITY_LEVEL4 If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also Comment for ScanSetLinearCodeTypeSecurityLevel
4-12
Page 109
Hardware Parameter Functions
ScanGetPrefixSuffixValues Purpose Identifies any prefix or suffixes appended to the scanned data. Prototype int ScanGetPrefixSuffixValues ( CharPtr pPrefix, CharPtr pSuffix_1, CharPtr pSuffix_2);
Returned Status ptr[0] returns prefix ptr[1] returns suffix_1 ptr[2] returns suffix_2 STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetPrefixSuffixValues Appendix A for prefix/suffix values
4-13
Page 110
Symbol Palm Terminal Scanner System Software Manual
ScanGetAngle Purpose Identifies the scanner’s field of view. Note: SPT 17X0-2D does not support scan angle selection.
Prototype int ScanGetAngle ( void);
Returned Status SCAN_ANGLE_WIDE SCAN_ANGLE_NARROW If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetAngle
4-14
Page 111
Hardware Parameter Functions
ScanGetScanDataTransmissionFormat Purpose Identifies the scan data transmission format. Prototype int ScanGetScanDataTransmissionFormat ( void);
Returned Status
DATA_AS_IS DATA_SUFFIX1 DATA_SUFFIX2 DATA_SUFFIX1_SUFFIX2 PREFIX_DATA PREFIX_DATA_SUFFIX1 PREFIX_DATA_SUFFIX2 PREFIX_DATA_SUFFIX1_SUFFIX2 If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetScanDataTransmissionFormat
4-15
Page 112
Symbol Palm Terminal Scanner System Software Manual
ScanGetTransmitCodeIdCharacter Purpose Determines whether a character has been selected to identify the scanned barcode’s code type and the method selected.
Prototype int ScanGetTransmitCodeIdCharacter ( void);
Returned Status AIM_CODE_ID_CHARACTER DISABLE SYMBOL_CODE_ID_CHARACTER If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetTransmitCodeIdCharacter
4-16
Page 113
Hardware Parameter Functions
ScanGetTriggeringModes Purpose Identifies the type of scan engine trigger. Prototype int ScanGetTriggeringModes ( void);
Return Status HOST LEVEL PULSE If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
See Also ScanSetTriggeringModes
4-17
Page 114
Symbol Palm Terminal Scanner System Software Manual
ScanIsPalmSymbolUnit Purpose Identifies whether the application is running on an SPT device (Palm organizer with scanner hardware and software).
Prototype int ScanIsPalmSymbolUnit ( void);
Return Status Zero=Unit is not an SPT device Non-zero=Unit is an SPT device If an error occurs, the returned status is one of the following: COMMUNICATIONS_ERROR NOT_SUPPORTED
Comments Use this call when your software needs to run on both an unmodified Palm III device and an SPT device.
4-18
Page 115
Hardware Parameter Functions
ScanSetAimDuration Purpose Sets the amount of time the aiming pattern is to be seen before a scan begins.
Prototype int ScanSetAimDuration ( Word aim_duration);
Parameters -> aim_duration
Must be an integer in the range [0...99], representing a time period of 0.0 to 9.9 seconds.
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments This function is invoked when the trigger is pressed or a ScanCmdStartDecode command is received. This function call does not apply to the aim signal or to the ScanCmdAimOn command. The aim_duration parameter is programmable in 0.1-second increments. If a value of 0 is set for aim_duration, the aim pattern is disabled.
See Also ScanGetAimDuration
4-19
Page 116
Symbol Palm Terminal Scanner System Software Manual
ScanSetAngle Purpose Sets the scanner’s field of view. Note: SPT 17X0-2D does not support scan angle selection.
Prototype int ScanSetAngle ( Word scanner_angle);
Parameters -> scanner_angle
Must be one of the following values: SCAN_ANGLE_WIDE SCAN_ANGLE_NARROW
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments A SCAN_ANGLE_WIDE field of view allows the scanner to decode more barcode characters at the same time.
See Also ScanGetAngle
4-20