The text of a manual · part 16 of 21
Symbol Palm Terminal Scanner System Software Manual: Chapter 4 Hardware Parameter Functions, pages 127 to 136
Pages 127 to 136 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 127
Hardware Parameter Functions
ScanSetTransmitCodeIdCharacter Purpose Selects a character that identifies the scanned barcode’s code type. Prototype int ScanSetTransmitCodeIdCharacter ( Word code_id);
Parameters -> code_id
Must be one of the following values: SYMBOL_CODE_ID_ CHARACTER AIM_CODE_ID_CHARACTER DISABLE
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments The code ID character is useful when the scanner is decoding more than one code type. The code ID character is inserted between the prefix and the decoded symbol. The user may select: !
No code ID character
!
Symbol Code ID character
!
AIM Code ID character
4-31
Page 128
Symbol Palm Terminal Scanner System Software Manual
The Symbol Code ID characters are listed and defined in Table 4-3. Table 4-3. Symbol Code ID Characters CODE
4-32
DEFINITION
A
UPC-A, UPC-E, UPC-E1, EAN-8, EAN-13
B
Code 39, Code 32
C
Codabar
D
Code 128 or ISBT 128
E
Code 93
F
Interleaved 2 of 5
G
Discrete 2 of 5 or Discrete 2 of 5 IATA
J
MSI Plessey
K
UCC/EAN-128
L
Bookland EAN
M
Trioptic Code 39
N
Coupon Code
Page 129
Hardware Parameter Functions
The definitions for each AIM Code ID character contains a threecharacter string (in the format ]cm). These characters are defined in Table 4-4: Table 4-4. AIM Code ID Characters CODE
DEFINITION
REFER TO
]
Flag character (ASCII 93)
N/A c
Code character
Table 4-5 m
Modifier character
Table 4-6
The Code characters are listed in Table 4-5: Table 4-5. Code Characters CODE DEFINITION A
Code 39, Code 32
C
Code 128 or ISBT 128
E
UPC-A, UPC-E, UPC-E1, EAN-8, EAN-13, UCC/EAN-128
F
Codabar
G
Code 93
I
Interleaved 2 of 5
M
MSI Plessey
S
Discrete 2 of 5 and Discrete 2 of 5 IATA
X
Bookland EAN, Trioptic Code 39, Coupon Code
4-33
Page 130
Symbol Palm Terminal Scanner System Software Manual
The Modifier characters are listed in Table 4-6: Table 4-6. Modifier Characters BARCODE TYPE
MODIFIER CHAR
OPTION
EXAMPLE
0
Decoder has not checked any check characters or performed a full ASCII processing
A full ASCII barcode with check character W, A+I+MI+D+W, is transmitted as ]A7AimId
1
Decoder has checked one check character
3
Decoder has checked and stripped one check character
4
Decoder has performed a full ASCII character conversion
5
Decoder has performed a full ASCII character conversion and checked one check character
7
Decoder has performed a full ASCII character conversion, and checked and stripped one check character
Trioptic Code 39
0
No options
A Trioptic barcode 412356 is transmitted as ]X0412356
Code 128
0
Standard data packet with no function code 1 character in the first symbol position
A Code 128 barcode with a function code 1 character in the first position, FNCI AimId, is transmitted with an AIM ID of ]C1
Code 39
4-34
Page 131
Hardware Parameter Functions
Table 4-6. Modifier Characters BARCODE TYPE Code 128 (cont’d)
I 2 of 5
Codabar
Code 93
MODIFIER CHAR
OPTION
1
Function code 1 character in the first symbol position
2
Function code 1 character in the second symbol position
0
No check digit processing
1
Decoder has checked the check digit
3
Decoder has stripped the check digit before transmission
0
No check digit processing
1
Decoder has checked the check digit
3
Decoder has stripped the check digit before transmission
0
No options
EXAMPLE
An I 2 of 5 barcode 4123 without a check digit being checked is transmitted as ]I04123
A Codabar barcode 4123 without a check digit being checked is transmitted as ]F04123
A Code 93 barcode 012345678905 is transmitted as ]G0012345678905
4-35
Page 132
Symbol Palm Terminal Scanner System Software Manual
Table 4-6. Modifier Characters BARCODE TYPE
MODIFIER CHAR
OPTION
EXAMPLE
0
Single check digit checked
An MSI Plessey barcode 4123 with a single check digit checked is transmitted as ]M04123
1
Two check digits checked
2
Single check digit checked and stripped before transmission
3
Two check digits checked and stripped before transmission
D 2 of 5
0
No options
A D 2 of 5 barcode 4123 is transmitted as ]S04123
UPC/EAN
0
Standard packet in full EAN country code format: 13 digits for UPCA and UPC-E (not including supplemental data)
A UPC-A barcode 012345678905 is transmitted as ]E0012345678905
1
Two-digit supplemental data only
2
Five-digit supplemental data only
4
EAN-8 data packet
0
No options, always transmit 0
MSI Plessey
Bookland EAN
4-36
A Bookland barcode 123456789X is transmitted as ]X0123456789X
Page 133
Hardware Parameter Functions
See Also ScanGetTransmitCodeIdCharacter
4-37
Page 134
Symbol Palm Terminal Scanner System Software Manual
ScanSetTriggeringModes Purpose Sets the type of scan engine trigger. Prototype int ScanSetTriggeringModes ( Word triggering_mode);
Parameters -> triggering_mode
Must be one of the following values: LEVEL - Only the terminal Scan trigger initiates the scan; the laser is turned off when the trigger is released or the decode was good. PULSE - Only the terminal Scan trigger initiates the scan; the laser is turned off when the value set in ScanSetLaserOnTime is reached or when the decode was good. HOST - The terminal Scan trigger or the application’s ScanCmdStartDecode command initiates the scan; the laser is turned off when the trigger is released, or when the value set in ScanSetLaserOnTime is reached, the ScanCmdStopDecode command is called, or the decode was good.
4-38
Page 135
Hardware Parameter Functions
Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR
Comments If the scanner was previously set to aim mode by the ScanCmdAimOn command, each mode functions as described above, except the laser will be on for the value set in ScanSetLaserOnTime x 10, and decoding is disabled.
See Also ScanGetTriggeringModes ScanSetLaserOnTime ScanCmdStartDecode ScanCmdStopDecode ScanCmdAimOn
4-39
Page 136
Symbol Palm Terminal Scanner System Software Manual
4-40