Parameters

bSSXmit

Points to a BOOL variable that determines if the start and stop characters are returned in the data string after a successful Code 39 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 Code 39 bar codes with or without check characters. If TRUE, the engine only decodes Code 39 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.

bFullAscii

Points to a BOOL variable that determines if certain character pairs within the bar code symbol are interpreted and returned as a single character. If bFullAscii is TRUE, interpretation is enabled. If FALSE, no interpretation is attempted. The default value is FALSE.

bAppend

Note: This parameter is not supported, and must be set to FALSE. nMinLength

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

nMaxLength

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

oemSetupCode49

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

Result_t oemSetupCode49 (

WORD nMinLength, WORD nMaxLength

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

Parameters

nMinLength

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

nMaxLength

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

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

2 - 51

Page 65
Image 65
Hand Held Products 4X00 manual OemSetupCode49, BFullAscii, BAppend, Resultt oemSetupCode49