Scanner Support
IS9CConfig::SetCodabar
This function updates the Codabar settings with new values.
Syntax:
Parameters:
Return Values:
Codabar Default Settings
Parameter
Decoding
CLSI Library System
Start/Stop
Check Digit
Bar Code Length
6-30
700 Series Color Mobile Computer User's Manual
HRESULT IS9CConfig::SetCodabar(
ITC_CODABAR_DECODING eDecode,
ITC_CODABAR_START_STOP eSS, ITC_CODABAR_CLSI eCLSI,
ITC_CODABAR_CHECK_DIGIT eCheck,
ITC_BARCODE_LENGTH_ID eLengthId, BYTE rgbLengthBuff[],
DWORD dwNumBytes );
eDecode
[in] Identifies the decoding for Codabar symbology.
eSS
[in] Identifies the Start/Stop option.
eCLSI
[in] Identifies the CLSI library system.
eCheck
[in] Identifies the check digit.
eLengthId
[in] Use ITC_BARCODE_LENGTH_NO_CHANGE to
rgbLengthBuff [in,size_is(dwNumBytes)]
dwNumBytes
[in] Number of bytes in rbgLengthBuff[]. For S9C, this
HRESULT that indicates success or failure.
Default
Not Active
Not Active
Not Transmitted
Not Used
Minimum Length = 6
indicate no change for bar code length.
Use ITC_BARCODE_LENGTH for any length and
minimum length, and set rgbLengthBuff[0] to a valid
length value.
Use ITC_BARCODE_FIXED_LENGTH to compose 1
or 2 or 3 fixed lengths, and set 3 bytes:
rgbLengthBuff[0], rgbLengthBuff[1], rgbLengthBuff[2]
with valid values.
An array of bytes containing bar code lengths when
eLengthId = ITC_BARCODE_LENGTH or
ITC_BARCODE_FIXED_LENGTH.
value is:
1 When eLengthId = ITC_BARCODE_LENGTH
3 When eLengthId =
ITC_BARCODE_FIXED_LENGTH
Valid Range
ITC_CODABAR_DECODING
ITC_CODABAR_CLSI
ITC_CODABAR_START_STOP
ITC_CODABAR_CHECK_DIGIT
0x00–0xFE ITC_BC_LENGTH_NO_CHANGE
SECTION 6