The text of a manual · part 25 of 40
700 Series Color Mobile Computer User's Manual: Section 6 - Scanner Support, pages 201 to 209
Pages 201 to 209 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 201
Scanner Support
SECTION 6
Bar Code Symbology
ID Character
Modifier Characters (Continued)
Plessey
P
0
No options specified. Always transmit 0.
Standard 2 of 5 R (2-bar start/stop)
0 1 3
No check character validation. Modulo 7 check character validated and transmitted. Modulo 7 check character validated but not transmitted.
Standard 2 of 5 S (3-bar start/stop)
0
No options specified. Always transmit 0.
Telepen
B
0 1 2 4
Full ASCII mode Double density numeric only mode Double density numeric followed by full ASCII Full ASCII followed by double density numeric
UPC/EAN
E
Consider UPC/EAN symbols with supplements as two separate symbols. The first symbol is the main data packet, and the second symbol is the 2 or 5 digit supplement. Transmit these two symbols separately, each with its own symbology identifier. Provision is made for the option of transmitting both symbols as a single data packet. 0 Standard data packet in full EAN format (13 digits for EAN-13, UPC-A, and UPC-E; does not include add-on data). 1 Two digit add-on data only. 2 Five digit add-on data only. 3 Combined data packet comprising 13 digits from EAN-13, UPC-A, or UPC-E symbol and 2 or 5 digits from add-on symbol. 4 EAN-8 data packet
IMPORTANT: The “symbology_id” character letter must be uppercase for the above definitions.
6-64
700 Series Color Mobile Computer User’s Manual
Page 202
Scanner Support
SECTION 6
IImage Interface The IImage interface gives the application the capability to acquire images. The image acquired can be either a raw image as captured by the digital camera or it can be normalized. A normalized image is presented the same as if the picture were taken at right angles to the image and at the same distance. The normalized image is commonly used for signature capture applications. " " " " " " " "
IImage::ReadSigCapBuffer (page 6-65) IImage::ReadSigCapFile (page 6-67) IImage::ReadImage (page 6-68) IImage::CancelReadImage (page 6-69) IImage::Start (page 6-69) IImage::Stop (page 6-69) IImage::Open (page 6-70) IImage::Close (page 6-70)
IImage::ReadSigCapBuffer Syntax: HRESULT IImage::ReadSigCapBuffer( ITC_SIGCAP_SPEC *pSigCapSpec, ITC_IMAGE_SPEC *pImgBuffer, DWORD nMaxBuffSize ); Parameters: pSigCapSpec
[in] Pointer to the structure that identifies the signature capture region. This structure is defined as follows:
typedef struct tagITCSigCapSpec { DWORD dwStructSize; INT iAspectRatio; INT iOffsetX; INT iOffsetY; UINT uiWidth; UINT uiHeight; INT iResolution; ITCFileFormat eFormat; DWORD eDepth; } ITC_SIGCAP_SPEC;
where: dwStructSize
Size, in bytes, of this struct. This is for version control.
iAspectRatio
Ratio of the bar code height (linear bar codes) or row height (2D bar codes) to the narrow element width.
iOffsetX
Offset in X direction, relative to barcode center. Positive values are right of the bar code, negative values to the left.
iOffsetY
Offset in Y direction, relative to barcode center. Positive values are higher than the bar code, negative values lower.
uiWidth
Width of signature capture image region in intelligent bar code units.
uiHeight
Height of the signature capture image region in intelligent bar code units.
iResolution
Number of pixels per intelligent bar code unit. 700 Series Color Mobile Computer User’s Manual
6-65
Page 203
Scanner Support
SECTION 6 eFormat
Format of the image buffer returned as follows. Currently, only ITC_FILE_RAW is supported.
ITC_FILE_KIM = ITC_FILE_TIFF_BIN = ITC_FILE_TIFF_BIN_GROUP4 = ITC_FILE_TIFF_GRAY_SCALE = ITC_FILE_RAW = ITC_FILE_JPEG = eDepth pImgBuffer
0, 1, 2, 3, 4, 5,
// Returns data a KIM file // TIFF Binary file // TIFF Binary Group 4 compressed // TIFF Gray Scale // Raw image // JPEG image
Number of bits per pixel. Currently, only one (monochrome) or eight (gray-scale) are supported. [out] Pointer to the buffer in which the signature capture image will be put.
typedef struct tagITCImageSpec { DWORD dwStructSize; LONG biWidth; LONG biHeight; WORD biBitCount; ITC_FILE_FORMAT eFormat; DWORD biActualImageSize; DWORD biMaxImageBytes; BYTE rgbImageData[1]; } ITC_IMAGE_SPEC;
where: dwStructSize biWidth biHeight biBitCount eFormat biActualImageSize biMaxImageBytes rgbImageData
Size, in bytes, of this struct. This is for version control. The width of each row in pixels. The number of rows in the image data. The number of bits per pixel. Identifies the image format. Total bytes of image data returned. Maximum bytes that can be stored in rgbImageData[]. Buffer containing the actual data, for example a 640x480 uses a 307200-byte buffer. The array size of this buffer is arbitrary so do not use this structure directly to reserve memory. The actual dimension of the buffer is identified by biMaxImageBytes.
Returns: HRESULT identifying success or error. On error, the following codes will be returned: S_OK Image successfully returned. ITC_RESULT_ERR_BADREGION_E The specified region is not in the image. ITC_RESULT_NO_BC_DECODED_E A bar code has not yet been decoded or the last bar code decoded was not a signature capture symbology. ITC_IMGBUFF_TOO_SMALL_E pImgBuffer is too small to contain the signature captured image. ITC_INV_PARAMETER_E One of the parameters is invalid. S_DEVICE_NOT_OPENED_E The device had not been opened. 6-66
700 Series Color Mobile Computer User’s Manual
Page 204
Scanner Support
SECTION 6
Remarks: ReadSigCapBuffer() will return the image from the last decoded label with dimensions identified by the calling parameter. This signature capture region must include the signature capture bar code. The supported bar codes for signature capture are: PDF 417, Code 128, and Code 39. The caller specifies the width, height, and center of the image to be retrieved. This image is independent of any rotation of the bar code relative to the imager. Thus, if the bar code is decoded with the code itself upside down to the imager, the retrieved image will still be right side up. However, if the specified image is outside the field of view a result code of ITC_RESULT_ERR_BADREGION_E will be returned. This function uses the dimensions of the last decoded bar code as its coordinate system. Thus, all the parameters describing the image size and position are in units called “Intelligent Bar Code Units.” An Intelligent Bar Code Unit is equivalent to the narrow element width of the bar code. The dimensions of the resulting image can be calculated using this formula: Resulting Width = Specified Width * Specified Resolution Resulting Height = Specified Height * Specified Resolution
IImage::ReadSigCapFile " NOTE:
This has not been implemented as of this publication.
Syntax: HRESULT IImage::ReadSigCapFile( ITC_SIGCAP_SPEC *pSigCapSpec, LPCTSTR pszFileName ); Parameters: pSigCapSpec pszFileName
[in] Pointer to the structure that identifies the signature capture region. See ReadSigCapFile (page 6-65) for a description of this structure. [in] Name of the file in which to copy the image.
Returns: HRESULT identifying success or error. On error, the following codes will be returned: S_OK Image successfully returned. ITC_RESULT_ERR_BADREGION_E The specified region is not in the image. ITC_RESULT_NO_BC_DECODED_E A bar code has not yet been decoded or the last bar code decoded was not a signature capture symbology. ITC_FILE_OPEN_E The file could not be opened. ITC_INV_PARAMETER_E One of the parameters is invalid. S_DEVICE_NOT_OPENED_E The device had not been opened. 700 Series Color Mobile Computer User’s Manual
6-67
Page 205
Scanner Support
SECTION 6
Remarks: ReadSigCapFile() will write the image from the last decoded label with dimensions identified by the calling parameter. If the file already exists, its contents will be overwritten. This signature capture region must include the signature capture bar code. The supported bar codes for signature capture are: PDF 417, Code 128, and Code 39. The caller specifies the width, height, and center of the image to be retrieved. This image is independent of any rotation of the bar code relative to the imager. Thus, if the bar code is decoded with the code itself upside down to the imager, the retrieved image will still be right side up. However, if the specified image is outside the field of view a result code of ITC_RESULT_ERR_BADREGION_E will be returned. This function uses the dimensions of the last decoded bar code as its coordinate system. Thus, all the parameters describing the image size and position are in units called “Intelligent Bar Code Units”. An Intelligent Bar Code Unit is equivalent to the narrow element width of the bar code. The dimensions of the resulting image can be calculated using this formula: Resulting Width = Specified Width * Specified Resolution Resulting Height = Specified Height * Specified Resolution
IImage::ReadImage Syntax: HRESULT IImage::Read( ITCFileFormat eFormat, DWORD nDepth, ITC_IMAGE_SPEC *pImgBuffer, DWORD dwTimeout ); Parameters: eFormat [in] Format of the image buffer returned as follows. Currently, only ITC_FILE_RAW is supported. ITC_FILE_KIM = ITC_FILE_TIFF_BIN = ITC_FILE_TIFF_BIN_GROUP4 = ITC_FILE_TIFF_GRAY_SCALE = ITC_FILE_RAW = ITC_FILE_JPEG = nDepth
// Returns data a KIM file // TIFF Binary file // TIFF Binary Group 4 compressed // TIFF Gray Scale // Raw image // JPEG image
Number of bits per pixel. Currently, only eight (gray-scale) is supported. pImgBuffer [in/out] Pointer to the buffer containing the image. dwTimeout [in] Milliseconds to wait for the image to be returned. Returns: HRESULT identifying success or error. On error, the following codes will be returned: S_OK Image successfully returned. ITC_IMGBUFF_TOO_SMALL_E pImgBuffer is too small to contain the signature captured image. ITC_TIMEOUT_E Timeout. ITC_INV_PARAMETER_E One of the parameters is invalid. S_DEVICE_NOT_OPENED_E The device had not been opened. Remarks: The image is returned in pImgBuffer in the caller specified format. 6-68
[in]
0, 1, 2, 3, 4, 5,
700 Series Color Mobile Computer User’s Manual
Page 206
Scanner Support
SECTION 6
IImage::CancelReadImage Syntax: HRESULT IImage::CancelReadImage( ); Parameters: None. Returns: Status code indicating success or failure as follows: S_OK Imager closed. S_DEVICE_NOT_OPENED_E The device had not been opened. Remarks: This function causes a pending image read of IImage::ReadImage() to return immediately with an error status. The purpose of this function is to allow the application to release a thread blocked on the ReadImage() call.
IImage::Start Syntax: HRESULT IImage::Start( ); Parameters: None. Returns: Status code indicating success or failure as follows: S_OK Imager started. S_DEVICE_NOT_OPENED_E The device had not been opened. Remarks: This function starts the image continuously capturing images.
IImage::Stop Syntax: HRESULT IImage::Stop( ); Parameters: None. Returns: Status code indicating success or failure as follows: S_OK Imager started. S_IMG_NOT_PRESENT_E The unit does not contain an imager. S_DEVICE_NOT_OPENED_E The device had not been opened. Remarks: This function stops the image continuously capturing images. 700 Series Color Mobile Computer User’s Manual
6-69
Page 207
Scanner Support
SECTION 6
IImage::Open Syntax: HRESULT IImage::Open( BOOL fSigCapEnable ); Parameters: fSigCapEnable
[in] When TRUE, signature capture capability is enabled. When FALSE, it is disabled. In either mode, bar code labels are decoded and images (via IImage::ReadImage) the same.
Returns: Status code indicating success or failure as follows: S_OK Imager opened. S_IMG_NOT_PRESENT_E The unit does not contain an imager. S_DEVICE_CONTENTION_E The device has already been opened. Remarks: This function exclusively allocates the imager device so that the other IImage methods can be safely called.
IImage::Close Syntax: HRESULT IImage::Close( ); Parameters: None. Returns: Status code indicating success or failure as follows: S_OK Imager closed. S_DEVICE_NOT_OPENED_E The device had not been opened. Remarks: This function releases the imager device so that other applications can open it. An IImage::Release() will also close the imager device.
6-70
700 Series Color Mobile Computer User’s Manual
Page 208
Scanner Support
SECTION 6
Data Collection Configuration Scanner settings for the 700 Series Computer can be configured via the Data Collection control panel applet. From the 700 Series Computer, tap Start → Settings → the System tab → the Data Collection icon. See Appendix A, “Control Panel Applets” for more information about the following parameters. Note that these are in alphabetical order. " " "
" "
" " " " "
" " " " "
Codabar (page A-7) Code 11 (page A-21) Code 128 (page A-10) " Code 128 Options (page A-11) " Code 128 FNC1 Character (page A-12) Code 39 (page A-5) Code 93 (page A-9) " Code 93 Length (page A-9) Datamatrix (page A-23) Interleaved 2 of 5 (page A-18) Matrix 2 of 5 (page A-19) MSI (page A-14) PDF 417 (page A-15) " Macro PDF (page A-16) " Micro PDF 417 (page A-17) Plessey (page A-13) QR Code (page A-22) Standard 2 of 5 (page A-6) Telepen (page A-20) UPC/EAN (page A-8)
700 Series Color Mobile Computer User’s Manual
6-71
Page 209
Scanner Support
6-72
700 Series Color Mobile Computer User’s Manual
SECTION 6