Ibarcodereadercontrol::setattribute - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

Scanner Support

IBarCodeReaderControl::SetAttribute

This function enables and disables the laser scanner, sets the bar code reader en-
gine specific grid, and enables or disables the reader engine LED control.
Syntax:
Parameters:
6-24
700 Series Color Mobile Computer User's Manual
HRESULT IBarCodeReaderControl::SetAttribute (
ITC_BARCODEREADER_ATTRIBUTE_ID eAttr, BYTE rgbAttrBuffer[],
DWORD dwAttrBufferSize );
eAttr
[in] Identifies the attribute to set. Only one attribute can
rgbAttrBuffer
[in] Contains data for the attribute to be set. Depending
be set at a time. The attributes are:
ITC_RDRATTR_SCANNER_ENABLE
Enable or disable scanner for all connections.
ITC_RDRATTR_GOOD_READ_LED_ENABLE
Enables and disables the reader engine from
controlling the good read LED.
ITC_RDRATTR_TONE_ENABLE
Enables and disables the reader engine from
issuing beeps.
ITC_RDRATTR_VOLUME_LEVEL
Sets beep volume level.
ITC_RDRATTR_TONE_FREQUENCY
Sets beep frequency.
ITC_RDRATTR_GOOD_READ_BEEPS_NUMBER
Sets number of beeps for a good read.
ITC_RDRATTR_GOOD_READ_BEEP_DURATION
Sets duration of beeps for a good read.
ITC_DHATTR_READFILTER
ITC_READFILTER is the rgbData Data Structure.
The ITC_READFILE structure is defined in
IADCDEVICE.H as follows:
typedef struct
{
#define ITC_MAXFILTER_CHARS
WORD nFilterChars;
TCHAR szFilter[ITC_MAXFILTER_CHARS];
} ITC_READFILTER;
where:
nFilterChars
szFilter
ITC_MAXFILTER_CHARS
Maximum number of characters in a filter
specification. Includes NULL termination.
on eAttr, the rgbAttrData will be mapped to the
appropriate structure as shown in the table on the
next page.
Number of characters in
pszDataMask.
Data mask specification. See
"Grid Data Filtering."
SECTION 6
240

Advertisement

Table of Contents
loading

Table of Contents