Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 21 of 40

700 Series Color Mobile Computer User's Manual: Section 6 - Scanner Support, pages 165 to 173

Pages 165 to 173 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 165

Scanner Support

SECTION 6

IS9CConfig Functions This interface provides methods to set and retrieve the 700 Series Computer bar code configuration. All supported symbologies are initialized to their defaults when the S9C firmware is loaded. GET/SET functions use enumerations as their parameters. In most enumerations, there is an enumerator xx_NO_CHANGE (such as ITC_CODE39_NO_CHANGE), where xx refers to a particular enumeration. This enumerator can be used during a call to a SET to indicate that no change is to be made to that particular parameter. This prevents the called function from having to format the same S9C command and send down to the S9C scanner. For all symbologies, to set a bar code length of “any length,” use a value of “0” for the bar code length argument. IS9CConfig functions are the following. IS9CCONFIG.H is the header file and ITCUUID.LIB contains the IID_IADC Interface GUID value used to obtain the interface. " " " " " " " " " " " " " " " " " " " " " " " "

6-28

IS9CConfig::GetCodabar (page 6-29) IS9CConfig::SetCodabar (page 6-30) IS9CConfig::GetCode39 (page 6-32) IS9CConfig::SetCode39 (page 6-32) IS9CConfig::GetCode93 (page 6-34) IS9CConfig::SetCode93 (page 6-34) IS9CConfig::GetCode128 (page 6-35) IS9CConfig::SetCode128 (page 6-35) IS9CConfig::GetI2of5 (page 6-37) IS9CConfig::SetI2of5 (page 6-38) IS9CConfig::GetMatrix2of5 (page 6-40) IS9CConfig::SetMatrix2of5 (page 6-40) IS9CConfig::GetMSI (page 6-41) IS9CConfig::SetMSI (page 6-41) IS9CConfig::GetPDF417 (page 6-42) IS9CConfig::SetPDF417 (page 6-43) IS9CConfig::GetPlessey (page 6-45) IS9CConfig::SetPlessey (page 6-45) IS9CConfig::GetStandard2of5 (page 6-46) IS9CConfig::SetStandard2of5 (page 6-47) IS9CConfig::GetTelepen (page 6-49) IS9CConfig::SetTelepen (page 6-49) IS9CConfig::GetUpcEan (page 6-50) IS9CConfig::SetUpcEan (page 6-51)

700 Series Color Mobile Computer User’s Manual

Page 166

Scanner Support

SECTION 6

IS9CConfig::GetCodabar

This function retrieves the current settings of Codabar symbology. Syntax: HRESULT IS9CConfig::GetCodabar( ITC_CODABAR_DECODING* peDecode, ITC_CODABAR_START_STOP* peSS, ITC_CODABAR_CLSI* peCLSI, ITC_CODABAR_CHECK_DIGIT* peCheck, ITC_BARCODE_LENGTH_ID* peLengthId, BYTE rgbLengthBuff[], DWORD* pdwNumBytes ); Parameters: peDecode

[out]

Pointer to the ITC_CODABAR_DECODING location to receive the decoding for Codabar symbology.

peSS

[out]

Pointer to the ITC_CODABAR_START_STOP location to receive the Start/Stop option.

peCLSI

[out]

Pointer to the ITC_CODABAR_CLSI location to receive the CLSI library system.

peCheck

[out]

Pointer to the ITC_CODABAR_CHECK_DIGIT location to receive the check digit.

peLengthId

[out]

Pointer to the ITC_BARCODE_LENGTH_ID location to receive an indicator of either ITC_BARCODE_LENGTH or ITC_BARCODE_FIXED_LENGTH.

rgbLengthBuff

[out,size_is(3)] An array of bytes to receive 1 byte of data for ITC_BARCODE_LENGTH, or 3 bytes of data for ITC_BARCODE_FIXED_LENGTH.

pdwNumBytes

[out]

Pointer to the DWORD location to receive a number indicating number of bytes in rbgLengthBuff[]: 1 byte for ITC_BARCODE_LENGTH or 3 bytes for ITC_BARCODE_FIXED_LENGTH.

Return Values: HRESULT that indicates success or failure.

700 Series Color Mobile Computer User’s Manual

6-29

Page 167

Scanner Support

SECTION 6

IS9CConfig::SetCodabar

This function updates the Codabar settings with new values. Syntax: 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 ); Parameters: 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 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.

rgbLengthBuff [in,size_is(dwNumBytes)] An array of bytes containing bar code lengths when eLengthId = ITC_BARCODE_LENGTH or ITC_BARCODE_FIXED_LENGTH. dwNumBytes

[in] Number of bytes in rbgLengthBuff[]. For S9C, this value is: 1 When eLengthId = ITC_BARCODE_LENGTH 3 When eLengthId = ITC_BARCODE_FIXED_LENGTH

Return Values: HRESULT that indicates success or failure.

Codabar Default Settings Parameter

Default

Valid Range

Decoding

Not Active

ITC_CODABAR_DECODING

CLSI Library System

Not Active

ITC_CODABAR_CLSI

Start/Stop

Not Transmitted

ITC_CODABAR_START_STOP

Check Digit

Not Used

ITC_CODABAR_CHECK_DIGIT

Bar Code Length

Minimum Length = 6

0x00–0xFE ITC_BC_LENGTH_NO_CHANGE

6-30

700 Series Color Mobile Computer User’s Manual

Page 168

Scanner Support

SECTION 6

Codabar Enumerations typedef enum tagCodabarDecoding { ITC_CODABAR_NOTACTIVE = 0, ITC_CODABAR_ACTIVE = 1, ITC_CODABAR_NO_CHANGE = 255 } ITC_CODABAR_DECODING; typedef enum tagCodabarStartStop { ITC_CODABAR_SS_NOTXMIT, ITC_CODABAR_SS_LOWERABCD, ITC_CODABAR_SS_UPPERABCD, ITC_CODABAR_SS_LOWERABCDTN, ITC_CODABAR_SS_DC1TODC4, ITC_CODABAR_SS_NO_CHANGE = 255 } ITC_CODABAR_START_STOP; typedef enum tagCodabarClsi { ITC_CODABAR_CLSI_NOTACTIVE = 0, ITC_CODABAR_CLSI_ACTIVE = 1, ITC_CODABAR_CLSI_NO_CHANGE = 255 } ITC_CODABAR_CLSI; typedef enum tagCodabarCheckDigit { ITC_CODABAR_CHECK_NOTUSED, ITC_CODABAR_CHECK_XMIT, ITC_CODABAR_CHECK_NOTXMIT, ITC_CODABAR_CHECK_NO_CHANGE = 255 } ITC_CODABAR_CHECK_DIGIT;

// Default

// Default // a,b,c,d // A,B,C,D // a,b,c,d / t,n,*,e // DC1,DC2,DC3,DC4

// Default

// Default typedef enum tagBarcodeLengthId { ITC_BARCODE_LENGTH = 0, ITC_BARCODE_FIXED_LENGTH, ITC_BARCODE_LENGTH_NO_CHANGE = 255 } ITC_BARCODE_LENGTH_ID;

700 Series Color Mobile Computer User’s Manual

6-31

Page 169

Scanner Support

SECTION 6

IS9CConfig::GetCode39

This function retrieves the current settings of Code 39. Syntax: HRESULT IS9Cconfig::GetCode39( ITC_CODE39_DECODING* peDecode, ITC_CODE39_FORMAT* peFormat, ITC_CODE39_START_STOP* peSS, ITC_CODE39_SS_CHARS* peSSChars, ITC_CODE39_CHECK_DIGIT* peCheck, DWORD* pwLength ); Parameters: peDecode

[out]

Pointer to the ITC_CODE39_DECODING location to receive the decoding for Code 39.

peFormat

[out]

Pointer to the ITC_CODE39_FORMAT location to receive the Code 39 format.

peSS

[out]

Pointer to the ITC_CODE39_START_STOP location to receive the Code 39 start/stop.

peSSChars [out]

Pointer to the ITC_CODE39_SS_CHARS location to receive the Start/Stop character.

peCheck

[out]

Pointer to the ITC_CODE39_CHECK_DIGIT location to receive the check digit.

pwLength

[out]

Pointer to the DWORD location to receive the bar code length.

Return Values: HRESULT that indicates success or failure.

IS9CConfig::SetCode39

This function updates the Code 39 settings with new values. Syntax: HRESULT IS9CConfig::SetCode39( ITC_CODE39_DECODING eDecode, ITC_CODE39_FORMAT eFormat, ITC_CODE39_START_STOP eSS, ITC_CODE39_SS_CHARS eSSChars, ITC_CODE39_CHECK_DIGIT eCheck, DWORD dwLength ); Parameters: eDecode

[in] Identifies the decoding for Code 39.

eFormat

[in] Identifies the Code 39 Format.

eSS

[in] Identifies the Start/Stop option.

eSSChars

[in] Identifies the Start/Stop character.

eCheck

[in] Identifies the Check digit.

dwLength

[in] Identifies the bar code length.

Return Values: HRESULT that indicates success or failure.

6-32

700 Series Color Mobile Computer User’s Manual

Page 170

Scanner Support

SECTION 6

Code 39 Default Settings Parameter

Default

Valid Range

Decoding

Active

ITC_CODE39_DECODING

Format

Standard 43 Characters

ITC_CODE39_FORMAT

Start/Stop

Not Transmitted

ITC_CODE39_START_STOP

Accepted Start/Stop Characters

* only

ITC_CODE39_SS_CHARS

Check Digit

Not Used

ITC_CODE39_CHECK_DIGIT

Bar Code Length

Any Bar Code Length

0x00–0xFE ITC_BC_LENGTH_NO_CHANGE

Code 39 Enumerations typedef enum tagCode39Decoding { ITC_CODE39_NOTACTIVE = 0, ITC_CODE39_ACTIVE = 1, ITC_CODE39_NO_CHANGE = 255 } ITC_CODE39_DECODING; typedef enum tagCode39Format { ITC_CODE39_FORMAT_STANDARD43, ITC_CODE39_FORMAT_FULLASCII, ITC_CODE39_FORMAT_NO_CHANGE = 255 } ITC_CODE39_FORMAT; typedef enum tagCode39StartStop { ITC_CODE39_SS_NOTXMIT, ITC_CODE39_SS_XMIT, ITC_CODE39_SS_NO_CHANGE = 255 } ITC_CODE39_START_STOP;

// Default

// Default

// Default typedef enum tagCode39StartStopChars { ITC_CODE39_SS_CHARS_DOLLARSIGN, ITC_CODE39_SS_CHARS_ASTERISK, // Default ITC_CODE39_SS_CHARS_BOTH, ITC_CODE39_SS_CHARS_NO_CHANGE = 255 } ITC_CODE39_SS_CHARS; typedef enum tagCode39CheckDigit { ITC_CODE39_CHECK_NOTUSED, // Default ITC_CODE39_CHECK_MOD43_XMIT, ITC_CODE39_CHECK_MOD43_NOTXMIT, ITC_CODE39_CHECK_FRENCH_CIP_XMIT, ITC_CODE39_CHECK_FRENCH_CIP_NOTXMIT, ITC_CODE39_CHECK_ITALIAN_CPI_XMIT, ITC_CODE39_CHECK_ITALIAN_CPI_NOTXMIT, ITC_CODE39_CHECK_NO_CHANGE = 255 } ITC_CODE39_CHECK_DIGIT;

700 Series Color Mobile Computer User’s Manual

6-33

Page 171

Scanner Support

SECTION 6

IS9CConfig::GetCode93

This function retrieves the current settings of Code 93. Syntax: HRESULT IS9CConfig::GetCode93( ITC_CODE93_DECODING* peDecode, DWORD* pdwLength ); Parameters: peDecode

[out]

Pointer to the ITC_CODE93_DECODING location to receive the decoding for Code 93 symbology.

pdwLength [out]

Pointer to the DWORD location to receive a value for bar code length.

Return Values: HRESULT that indicates success or failure.

IS9CConfig::SetCode93

This function updates the Code 93 settings with new values. Syntax: HRESULT IS9CConfig::SetCode93( ITC_CODE93_DECODING eDecode, DWORD dwLength ); Parameters: eDecode dwLength

[in] Identifies the decoding for Code93 Symbology. [in] Identifies the bar code length.

Return Values: HRESULT that indicates success or failure.

Code 93 Default Settings Parameter

Default

Valid Range

Decoding

Not Active

ITC_CODE93_DECODING

Bar Code Length

Any Bar Code Length

0x00–0xFE ITC_BC_LENGTH_NO_CHANGE

Code 93 Enumerations Use this when the bar code length does not require any change. typedef enum tagCode93Decoding { ITC_CODE93_NOTACTIVE = 0, // Default ITC_CODE93_ACTIVE = 1, ITC_CODE93_NO_CHANGE = 255 } ITC_CODE93_DECODING; #define ITC_BC_LENGTH_NO_CHANGE 255.

6-34

700 Series Color Mobile Computer User’s Manual

Page 172

Scanner Support

SECTION 6

IS9CConfig::GetCode128

This function retrieves the current settings of Code 128 symbology. Syntax: HRESULT IS9Cconfig::GetCode128( ITC_CODE128_DECODING* peDecode, ITC_EAN128_IDENTIFIER* peEan128Ident, ITC_CODE128_CIP128 peCip128State, BYTE* pbyFNC1, DWORD* pdwLength ); Parameters: peDecode

[out]

Pointer to the ITC_CODE128_DECODING location to receive the decoding for Code 128 symbology.

peEan128Ident

[out]

Pointer to the ITC_EAN128_IDENTIFIER location to receive the EAN 128 identifier.

peCip128State

[out]

Pointer to the ITC_CODE128_CIP128 location to receive the CIP 128.

pbyFNC1

[out]

Pointer to the BYTE location to receive the FNC1 separator character.

pdwLength

[out]

Pointer to the DWORD location to receive a value for bar code length.

Return Values: HRESULT that indicates success or failure.

IS9CConfig::SetCode128

This function updates the Code 128 settings with new values. Syntax: HRESULT IS9CConfig::SetCode128( ITC_CODE128_DECODING eDecode, ITC_EAN128_IDENTIFIER eEan128Ident, ITC_CODE128_CIP128 eCip128State, BYTE byFNC1, DWORD dwLength ); Parameters: eDecode

[in] Identifies the decoding for Code 128 symbology.

eEan128Ident [in] Identifies the EAN 128 identifier. eCip128State

[in] Identifies the CIP 128.

byFNC1

[in] Identifies the FNC1 separator character, usually any ASCII value.

dwLength

[in] Identifies the bar code length.

Return Values: HRESULT that indicates success or failure.

700 Series Color Mobile Computer User’s Manual

6-35

Page 173

Scanner Support

SECTION 6

Code 128/EAN 128 Default Settings Parameter

Default

Valid Range

Decoding

Not Active

ITC_CODE128_DECODING

EAN 128 Identifier

Include ]C1

ITC_EAN128_IDENTIFIER

CIP 128 French Pharmaceutical Codes

Not Active

ITC_CODE128_CIP128

FNC1 Separator Character (EAN 128 norms)

GS function Char ASCII 29 or 0x1D

0x00–0xFE ITC_CODE128_FNC1_NO_CHANGE

Bar Code Length

Any Bar Code Length

0x00–0xFE ITC_BC_LENGTH_NO_CHANGE

Code 128 Enumerations typedef enum tagCode128Decoding { ITC_CODE128_NOTACTIVE = 0, // Default ITC_CODE128_ACTIVE = 1, ITC_CODE128_NO_CHANGE = 255 } ITC_CODE128_DECODING; typedef enum tagEan128Identifier { ITC_EAN128_ID_REMOVE, ITC_EAN128_ID_INCLUDE, // Default ITC_EAN128_ID_NO_CHANGE = 255 } ITC_EAN128_IDENTIFIER; typedef enum tagCode128Cip128 { ITC_CODE128_CIP128_NOTACTIVE = 0, // Default ITC_CODE128_CIP128_ACTIVE = 1, ITC_CODE128_CIP128_NO_CHANGE = 255 } ITC_CODE128_CIP128; #define ITC_CODE128_FNC1_NO_CHANGE 255. This definition can be used when the Code128 FNC1 does not require any change. #define ITC_BC_LENGTH_NO_CHANGE 255. This definition can be used when the bar code length does not require any change.

The table below shows what to be expected for EAN 128 labels for various symbology identifier transmit configurations and EAN 128 Identifier options. Setup

Application’s Expected Result

EAN 128 ]C1 Id

Symbology ID option

EAN 128 Label

Other Labels

1

Include ]C1

Disabled

<data>

<data>

2

Remove ]C1

Disabled

<data>

<data>

3

Include ]C1

AIM Id Transmitted

]C1<data>

]XY<data>

4

Remove ]C1

AIM Id Transmitted

]C1<data>

]XY<data>

5

Include ]C1

Custom Id Transmitted

Z]C1<data>

Z<data>

6

Remove ]C1

Custom Id Transmitted

Z<data>

Z<data> where “X” is the symbology identifier; “Y” is the modifier character; “Z” is the 1 byte symbology identifier

6-36

700 Series Color Mobile Computer User’s Manual