The text of a manual · part 24 of 40
700 Series Color Mobile Computer User's Manual: Section 6 - Scanner Support, pages 192 to 200
Pages 192 to 200 of 346, from 700 Series Color Mobile Computer User's Manual
The original document is the PDF (2.9 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.
Filed in the catalog under the Intermec Model 720, Intermec Model 740, Intermec Model 741, Intermec Model 751, Intermec Model 760, Intermec Model 710, Intermec Model 730 and Intermec Model 761
Page 192
Scanner Support
SECTION 6
IS9CConfig2::GetCode11 This function retrieves the current settings for Code 11. Syntax: HRESULT GetCode11( ITC_CODE11_DECODING* peDecode, ITC_CODE11_CHECK_DIGIT* peCheck, ITC_CODE11_CHECK_VERIFICATION* peVer ); Parameters: peDecode [out] peCheck
[out] peVer
[out]
Pointer to ITC_CODE11_DECODING location to receive Code 11 decoding. Pointer to ITC_CODE11_CHECK_DIGIT location to receive the check digit option. Pointer to ITC_CODE11_CHECK_VERIFICATION location to receive the check verification option.
Return Values: HRESULT that indicates success or failure.
IS9CConfig2::SetCode11 This function updates the current setting of Code 11 symbology. Syntax: HRESULT SetCode11( ITC_CODE11_DECODING eDecode, ITC_CODE11_CHECK_DIGIT eCheck, ITC_CODE11_CHECK_VERIFICATION eVer ); Parameters: eDecode [in] An enumeration that identifies decoding option for Code 11. eCheck [in] An enumeration that identifies the check digit option. eVer [in] An enumeration that identifies check verification option. Return Values: HRESULT that indicates success or failure.
Code 11 Default Settings Parameter
Default
Valid Range
Decoding Check Verification Check Digit
Not Active 1 Digit Enable
ITC_CODE11_DECODING ITC_CODE11_CHECK_VERIFICATION ITC_CODE11_CHECK_DIGIT
Code 11 Enumerations typedef enum tagCode11Decoding { ITC_CODE11_NOTACTIVE = 0, ITC_CODE11_ACTIVE = 1, // Default ITC_CODE11_NO_CHANGE = 255 } ITC_CODE11_DECODING; typedef enum tagCode11CheckVerification { ITC_CODE11_CHK_VERIFY_ONEDIGIT = 1, ITC_CODE11_CHK_VERIFY_TWODIGIT = 2, // Default ITC_CODE11_CHK_VERIFY_NO_CHANGE = 255 } ITC_CODE11_CHECK_VERIFICATION; typedef enum tagCode11CheckDigit { ITC_CODE11_CHECK_NOTXMIT = 0, // Default ITC_CODE11_CHECK_XMIT = 1, ITC_CODE11_CHECK_NO_CHANGE = 255 } ITC_CODE11_CHECK_DIGIT;
700 Series Color Mobile Computer User’s Manual
6-55
Page 193
Scanner Support
SECTION 6
IS9CConfig2::GetCustomSymIds
This function retrieves all the custom symbology identifiers defined for the currently supported symbologies. This is not supported when using an imager. Syntax: HRESULT GetCustomSymIds( ITC_CUST_SYM_ID_PAIR* pStructSymIdPair, DWORD dwMaxNumElement, DWORD* pdwNumElement ); Parameters: pStructSymIdPair
[out]
Pointer to ITC_CUST_SYM_ID_PAIR location to receive the current defined symbology identifiers for the supported symbologies. The caller must preallocate this buffer with dwMaxNumElement elements.
dwMaxNumElement
[in]
Maximum number of elements allocated for the pStructSymIdPair buffer which should always be equal to the last defined enumeration constant + 1 of the enumeration ITC_CUSTOM_ID. In this case, it is ITC_CUSTOMID_LAST_ELEMENT.
pdwNumElement
[out]
Pointer to DWORD location to receive the actual number of elements returned in the pStructSymIdPair buffer, which should be the same as dwMaxNumElement.
Return Values: HRESULT that indicates success or failure. See Also: Custom Identifier Assignments (page 6-57) Custom Identifier Example (page 6-58) Custom Identifier Default Settings (page 6-57)
IS9CConfig2::SetCustomSymIds This function updates the symbology identifiers (any ASCII values) for the currently supported symbologies. This is not supported when using an imager. Syntax: HRESULT SetCustomSymIds( ITC_CUST_SYM_ID_PAIR* pStructSymIdPair, DWORD dwNumElement ); Parameters: pStructSymIdPair dwNumElement
[in] Pointer to ITC_CUST_SYM_ID_PAIR location, containing the new symbology identifiers for any supported symbologies to update. [in] Identifies the number of symbology identifiers to update in the pStructSymIdPair buffer.
Return Values: HRESULT that indicates success or failure.
6-56
700 Series Color Mobile Computer User’s Manual
Page 194
Scanner Support
SECTION 6
Custom Identifier Assignments
Each custom identifier is a one byte ASCII value within the range from 0x00 to 0xff. The enumerations in the ITC_CUSTOM_ID enumerator can be used as symbology identifications in the GetCustomSymIds and SetCustomSymIds functions. typedef enum tagCustomId { ITC_CUSTOMID_CODABAR = 0 ITC_CUSTOMID_CODE39 ITC_CUSTOMID_CODE93 ITC_CUSTOMID_CODE128_EAN_128 ITC_CUSTOMID_EAN8 ITC_CUSTOMID_EAN13 ITC_CUSTOMID_I2OF5 ITC_CUSTOMID_MATRIX2OF5 ITC_CUSTOMID_MSI ITC_CUSTOMID_PDF417 ITC_CUSTOMID_PLESSEY ITC_CUSTOMID_CODE2OF5 ITC_CUSTOMID_TELEPEN ITC_CUSTOMID_UPCA ITC_CUSTOMID_UPCE ITC_CUSTOMID_CODE11 ITC_CUSTOMID_LAST_ELEMENT
Identifies the Codabar symbology Identifies the Code 39 symbology Identifies the Code 93 symbology Identifies the Code 128 symbology Identifies the EAN-8 symbology Identifies the EAN-13 symbology Identifies the Interleaved 2 of 5 symbology Identifies the Matrix 2 of 5 symbology Identifies the MSI symbology Identifies the PDF 417 symbology Identifies the Plessey symbology Identifies the Standard 2 of 5 symbology Identifies the Telepen symbology Identifies the UPC-A symbology Identifies the UPC-E symbology Identifies the Code 11 symbology Identifies the last element. Use to preallocate the buffer on GetCustomSymIds
}ITC_CUSTOM_ID; typedef struct tagCustSymbIdPair { ITC_CUSTOM_ID eSymbology;
Identifies the symbology of interest
BYTE byteId; ASCII value (1 byte within the range0x00 – 0xf) }ITC_CUST_SYM_ID_PAIR;
Custom Identifier Default Settings Symbology
Default
Valid Range
Codabar
D
0x00–0xFF
Code 11
*
0x00–0xFF
Code 39
*
0x00–0xFF
Code 93
D
0x00–0xFF
Code128/EAN 128
D
0x00–0xFF
EAN-8
0xFF
0x00–0xFF
EAN-13
F
0x00–0xFF
Interleaved 2 of 5
I
0x00–0xFF
Matrix 2 of 5
D
0x00–0xFF
MSI
D
0x00–0xFF
PDF 417
*
0x00–0xFF
Plessey
D
0x00–0xFF
Standard 2 of 5
D
0x00–0xFF
Telepen
*
0x00–0xFF
UPC-A
A
0x00–0xFF
UPC-E
E
0x00–0xFF 700 Series Color Mobile Computer User’s Manual
6-57
Page 195
Scanner Support
SECTION 6
Custom Identifier Example The following code segment is an example of updating the UPC-E and UPC-A symbology identifiers with new values, and then retrieving the currently defined symbology identifiers for all the supported symbologies: ITC_CUST_SYM_ID_PAIR oStructSymIdPair [ITC_CUSTOMID_LAST_ELEMENT]; oStructSymIdPair[0].eSymbology = ITC_CUSTOMID_UPCE; oStructSymIdPair[0].byteId = 0x41; // ASCII char A oStructSymIdPair[1].eSymbology = ITC_CUSTOMID_UPCA; oStructSymIdPair[1].byteId = 0x42; // ASCII char B HRESULT hr = pIS9CConfig2->SetCustomSymIds(&oStructSymIdPair[0], 2]; DWORD dwNum = 0; HRESULT hr = pIS9CConfig2->GetCustomSymIds(&oStructSymIdPair[0], ITC_CUSTOMID_LAST_ELEMENT, &dwNum);
IS9CConfig2::GetGlobalAmble This function retrieves the scanner’s current preamble or postamble setting. Syntax: HRESULT GetGlobalAmble( ITC_GLOBAL_AMBLE_ID eAmbleId, BYTE rgbBuffer[], DWORD dwBufferSize, DWORD* pdwBufferSize ); Parameters: eAmbleId
[in]
An enumeration of type ITC_GLOBAL_AMBLE_ID identifies whether the preamble or postamble setting is to be retrieved. Only one setting can be queried at a time.
rgbBuffer
[in]
Contains the buffer for the postamble or preamble setting to be queried.
dwBufferSize
[in]
The maximum number of bytes that rgbBuffer can store. Must be at least ITC_GLOBAL_AMBLE_MAX_CHARS bytes.
pdwBufferSize [out]
A pointer to DWORD location to store the actual number of returned bytes in rgbBuffer.
Return Values: HRESULT that indicates success or failure.
IS9CConfig2::SetGlobalAmble This function updates the scanner’s current preamble or postamble setting depending on the input parameters. Syntax: HRESULT SetGlobalAmble( ITC_GLOBAL_AMBLE_ID eAmbleId, BYTE rgbBuffer[], DWORD dwBufferSize ); Parameters: eAmbleId
[in] An enumeration of type ITC_GLOBAL_AMBLE_ID identifies whether the preamble or postamble setting is to be updated. Only one setting can be updated at a time.
rgbBuffer
[in] Contains the buffer for the postamble or preamble setting to be updated.
dwBufferSize
[in] Identifies number of bytes in rgbBuffer.
Return Values: HRESULT that indicates success or failure. 6-58
700 Series Color Mobile Computer User’s Manual
Page 196
Scanner Support
SECTION 6
Postamble and Preamble Defaults Parameter
Default
Valid Range
Preamble
Null
0 to 20 ASCII characters
Postamble
Null
0 to 20 ASCII characters
IS9CConfig2::GetPDF417Ext
This function is an extended function for retrieving the PDF 417 settings not included in the IS9CConfig::GetPDF417. Syntax: HRESULT GetPDF417Ext( ITC_MICRO_PDF417_DECODING* peDecode, ITC_MICRO_PDF417_CODE128_EMULATION* peCode128 ); Parameters: peDecode peCode128
[out]
Pointer to ITC_MICRO_PDF417_DECODING location to receive the Micro PDF 417 decoding.
[out]
Pointer to ITC_MICRO_PDF417_CODE128_EMULATION* location to receive the Micro PDF 417 Code 128 emulation option.
Return Values: HRESULT that indicates success or failure.
IS9CConfig2::SetPDF417Ext This function is an extended function for updating the additional PDF 417 settings not included in IS9CConfig::SetPDF417. Syntax: HRESULT SetPDF417Ext( ITC_MICRO_PDF417_DECODING eDecode, ITC_MICRO_PDF417_CODE128_EMULATION eCode128 ); Parameters: eDecode
[in] An enumeration that identifies decoding option for the Micro PDF 417.
eCode128 [in] An enumeration that identifies the Code 128 emulation option for the Micro PDF 417. Return Values: HRESULT that indicates success or failure.
PDF 417 Extended: Micro PDF 417 Default Settings Parameter
Default
Valid Range
Decoding
Not Active
ITC_MICRO_PDF417_DECODING
Code 128 Emulation
Not Active
ITC_MICRO_PDF417_CODE128_EMULATION
* These are Micro PDF 417 parameters.
700 Series Color Mobile Computer User’s Manual
6-59
Page 197
Scanner Support
SECTION 6
IS9CConfig2::GetSymIdXmit
This function retrieves the current symbology ID transmission option as described on the next page. Syntax: HRESULT GetSymIdXmit( ITC_SYMBOLOGY_ID_XMIT* peSymIdXmit ); Parameters: peSymIdXmit [out]
Pointer to ITC_SYMBOLOGY_ID_XMIT location to receive the current symbology identifier transmission option.
Return Values: HRESULT that indicates success or failure.
IS9CConfig2::SetSymIdXmit
This function updates the symbology ID transmission option as shown on the next page. Syntax: HRESULT SetSymIdXmit( ITC_SYMBOLOGY_ID_XMIT eSymIdXmit ); Parameters: eSymIdXmit
[in] Identifies the symbology identifier transmission option to update.
Return Values: HRESULT that indicates success or failure.
Symbology ID Transmission Option
The symbology identifier (or code mark) concept provides a standardized way for a device receiving data from a bar code reader to differentiate between the symbologies. The following symbology ID transmission option specifies whether or not the symbology ID should be transmitted as part of the scanned bar code label to all the connected data collection applications. Options for transmission are: do not transmit, transmit the standard AIM identifiers, or transmit the one byte custom defined identifiers. AIM and custom identifiers cannot be selected to be transmitted at the same time; only the last selected option will be active. typedef enum tagSymbologyIdXmit { ITC_ID_XMIT_DISABLE = 0
Symbology identifier will not be transmitted as part of the label. This is the default setting.
ITC_ID_XMIT_CUSTOM = 1
Activate custom symbology identifier transmission for all symbologies. Example of the transmitted label: [preamble] [Custom ID] <data> [postamble]
ITC_ID_XMIT_AIM = 2
Activate AIM symbology identifier transmission for all symbologies. Example of the transmitted label: [preamble] [AIM symbology ID] <data> [postamble]
}ITC_SYMBOLOGY_ID_XMIT;
6-60
700 Series Color Mobile Computer User’s Manual
Page 198
Scanner Support
SECTION 6
IS9CConfig3 Functions The IS9CConfig3 interface provides generic methods for retrieving and setting configuration using ISCP commands.
ISCP Commands
An ISCP Command is composed of three or more bytes formatted as <SG><FID><parameters> where: SG
Setup group.
FID
Function ID.
parameters One or more configuration value bytes depending on the configuration. ISCP commands include the following: Imager Settings
This dictates the start and end column positions for the image dimension. SG 0x7B 0x7B
FID 80 81
Parameter Value [0..639] Value [0..639]
Description Start column position. End column position.
Trigger Settings
This sets the duration of the aiming beam before acquiring images to be decoded. SG 0x70
FID 81
Parameter Value [0..65535]
Description Number of milliseconds.
QRCode Symbology
This enables or disables the QRCode symbology. SG 0x55 0x55
FID 40 40
Parameter 0 1
Description Disable this symbology. Enable this symbology.
Datamatrix Symbology
This enables or disables the Datamatrix symbology. SG 0x54 0x54
FID 40 40
Parameter 0 1
Description Disable this symbology. Enable this symbology.
700 Series Color Mobile Computer User’s Manual
6-61
Page 199
Scanner Support
SECTION 6
ISCP::GetConfig
This retrieves configurations using the ISCP commands format. Syntax: HRESULT ISCPGetConfig( BYTE rgbCommandBuff[], DWORD dwCommandBuffSize, BYTE rgbReplyBuff[], DWORD dwReplyBuffMaxSize, DWORD *pdwReplyBuffSize ); Parameters: rgbCommandBuff
[in, size_is]
Contains ISCP commands in array of bytes.
dwCommandBuffSize [in]
Number of bytes in rgbCommandBuff.
rgbReplyBuff
[in, out, size_is]
Results of query in array of bytes.
dwReplyBuffMaxSize
[in]
Maximum size of rgdReplyBuff.
pdwReplyBuffSize
[in, out]
Number of bytes placed in rbfReplyBuff.
ISCP::SetConfig
This updates configurations using the ISCP commands format. Syntax: HRESULT ISCPSetConfig( BYTE rgbCommandBuff[], DWORD dwCommandBuffSize, BYTE rgbReplyBuff[], DWORD dwReplyBuffMaxSize, DWORD *pdwReplyBuffSize ); Parameters: rgbCommandBuff
6-62
[in, size_is]
Contains ISCP commands in array of bytes.
dwCommandBuffSize [in]
Number of bytes in rgbCommandBuff.
rgbReplyBuff
[in, out, size_is]
Results of request in array of bytes.
dwReplyBuffMaxSize
[in]
Maximum size of rgbReplyBuff.
pdwReplyBuffSize
[in, out]
Number of bytes placed in rgbReplyBuff.
700 Series Color Mobile Computer User’s Manual
Page 200
Scanner Support
SECTION 6
AIM Symbology ID Defaults Refer to the official AIM documentation on symbology identifiers for full information on the different processing options supported. Bar Code Symbology
ID Character
Codabar
F
Modifier Characters 0 1 2 4
Standard Codabar symbol. No special processing. ABC Codabar (American Blood commission) concatenate/message append performed. Reader has validated the check character. Reader has stripped the check character before transmission.
Code 11
H
0 1 3
Single modulo 11 check character validated and transmitted. Two modulo 11 check characters validated and transmitted. Check characters validated but not transmitted.
Code 39
A
0
No check character validation nor full ASCII processing. All data transmitted as decoded. Modulo 43 check character validated and transmitted. Modulo 43 check character validated but not transmitted. Full ASCII character conversion performed. No check character validation. Full ASCII character conversion performed. Modulo 43 check character validated and transmitted. Full ASCII character conversion performed. Modulo 43 check character validated but not transmitted.
1 3 4 5 7 Code 93
G
0
No options specified. Always transmit 0.
Code 128
C
0
Standard data packet. No FNC1 in first or second symbol character position after start character. EAN/UCC-128 data packet. FNC1 in first symbol character position after start character. FNC1 in second symbol character position after start character. Concatenation according to International Society for Blood Transfusion specifications was performed. Concatenated data follows.
1 2 4
Interleaved 2 of 5
I
0 1 3
Matrix 2 of 5
X
0–F
MSI
M
0 1
Modulo 10 symbol check character validated and transmitted. Modulo 10 symbol check character validated but not transmitted.
PDF 417/ Micro PDF 417
L
0
Reader set to conform with protocol defined in 1994 PDF 417 specifications. Reader set to follow protocol of ENV 12925 for Extended Channel Interpretation (all data characters 92 doubled). Reader set to follow protocol of ENV 12925 for Basic Channel Interpretation (data characters 92 are not doubled). Code 128 emulation: implied FNC1 in first position. Code 128 emulation: implied FNC1 after initial letter or pair of digits. Code 128 emulation: no implied FNC1.
1 2 3 4 5
No check character validation. Modulo 10 symbol check character validated and transmitted Modulo 10 symbol check character validated but not transmitted. For symbologies or symbology options not listed, a code character with the value 0--F may be assigned by the decoder manufacturer to identify those symbologies and options implemented in the reader.
700 Series Color Mobile Computer User’s Manual
6-63