Parameters

nMinLength

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

nMaxLength

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

oemSetupCodabar

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

Result_t oemSetupCodabar (

BOOL bSSXmit, BOOL bCheckCharOn, BOOL bXmitCheckChar, WORD nMinLength, WORD nMaxLength

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

Parameters

bSSXmit

Points to a BOOL variable that determines if the start and stop characters are returned in the data string after a successful Codabar decode. If bSSXmit is TRUE, the start and stop characters are included. If FALSE, they are not included. The default value is FALSE.

bCheckCharOn

Points to a BOOL variable that determines if the engine will read Codabar bar codes with or without check characters. If TRUE, the engine only decodes Codabar codes with a check character. If FALSE, the decoder decodes codes with or without a check character. The default value is FALSE.

bXmitCheckChar

Points to a BOOL variable that determines if the engine will return the check character as part of the data string after a successful decode. If TRUE, the engine returns the check character. If FALSE the check character is not returned. The default value is FALSE.

Note: This parameter is only used when bCheckCharOn is set to TRUE. If bCheckCharOn is set to FALSE, this parameter is ignored.

nMinLength

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

nMaxLength

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

oemSetupCodablock

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

Result_t oemSetupCodablock (

WORD nMinLength, WORD nMaxLength

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

2 - 48

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

Page 62
Image 62
Hand Held Products 4X00 manual OemSetupCodabar, OemSetupCodablock, Resultt oemSetupCodabar, Resultt oemSetupCodablock