Oemsetupcode11, Oemsetupcode128, Oemsetupcode11 -49 – Hand Held Products 4X00 User Manual

Page 63: Oemsetupcode128 -49

Advertising
background image

IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide

2 - 49

Parameters

nMinLength

The minimum length decoded Codablock message the engine should return. Codablock messages smaller than this
minimum length are not reported by the engine. The minimum allowable value (as well as the default) is 0.

nMaxLength

The maximum length decoded Codablock message the engine should return. Codablock messages larger than this
maximum length are not reported by the engine. The maximum allowable value (as well as the default) is 2048.

oemSetupCode11

This function is used to set the Code 11 symbology-specific options.

Result_t

oemSetupCode11 (
BOOL bTwoCheckDigits,
WORD nMinLength,
WORD nMaxLength
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Parameters

bTwoCheckDigits

If TRUE, the engine only decodes Code 11 bar codes printed with two check digits. Otherwise, the engine decodes
Code 11 bar codes as if they were printed with only one check digit. The default value is TRUE.

nMinLength

The minimum length decoded Code 11 message the engine should return. Code 11 messages smaller than this
minimum length are not reported by the engine. The default value is 4, and the minimum allowable value is 1.

nMaxLength

The maximum length decoded Code 11 message the engine should return. Code 11 messages larger than this
maximum length are not reported by the engine. The maximum allowable value (as well as the default) is 80.

oemSetupCode128

This function is used to set the Code 128 symbology-specific options.

Result_t

oemSetupCode128 (
WORD nMinLength,
WORD nMaxLength
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Parameters

nMinLength

The minimum length decoded Code 128 message the engine should return. Code 128 messages smaller than this
minimum length are not reported by the engine. The minimum allowable value (as well as the default) is 0.

nMaxLength

The maximum length decoded Code 128 message the engine should return. Code 128 messages larger than this
maximum length are not reported by the engine. The maximum allowable value (as well as the default) is 80.

Advertising