Parameters

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.

bAddenda2Digit

Points to a BOOL variable that determines if the engine will look for a 2 digit addenda at the end of the EAN bar code. If TRUE, and an addenda is present, the engine adds the two digit addenda data to the end of the message. If FALSE, the engine ignores addenda data. The default value is FALSE.

bAddenda5Digit

Points to a BOOL variable that determines if the engine will look for a 5 digit addenda at the end of the EAN bar code. If TRUE, and an addenda is present, the engine adds the five digit addenda data to the end of the message. If FALSE, the engine ignores addenda data. The default value is FALSE.

bAddendaReq

Points to a BOOL variable that determines if the engine will decode only EAN bar codes that have a 2 or 5 digit addenda. If TRUE, the engine decodes only EAN symbols with an addenda. If FALSE, the engine decodes all enabled EAN symbols. The default value is FALSE.

bAddendaSeparator

Points to a BOOL variable that determines if there is a space character between the data from the bar code and the data from the addenda. If TRUE, there is a space. If FALSE, there is no space. The default value is FALSE.

oemSetupEAN13

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

Result_t oemSetupEAN13 (

BOOL bXmitCheckChar, BOOL bAddenda2Digit, BOOL bAddenda5Digit, BOOL bAddendaReq, BOOL bAddendaSeparator

)

Return Values

RESULT_SUCCESS

Parameters

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.

bAddenda2Digit

Points to a BOOL variable that determines if the engine will look for a 2 digit addenda at the end of the EAN bar code. If TRUE, and an addenda is present, the engine adds the two digit addenda data to the end of the message. If FALSE, the engine ignores addenda data. The default value is FALSE.

bAddenda5Digit

Points to a BOOL variable that determines if the engine will look for a 5 digit addenda at the end of the EAN bar code. If TRUE, and an addenda is present, the engine adds the five digit addenda data to the end of the message. If FALSE, the engine ignores addenda data. The default value is FALSE.

bAddendaReq

Points to a BOOL variable that determines if the engine will decode only EAN bar codes that have a 2 or 5 digit addenda. If TRUE, the engine decodes only EAN symbols with an addenda. If FALSE, the engine decodes all enabled EAN symbols. The default value is FALSE.

bAddendaSeparator

Points to a BOOL variable that determines if there is a space character between the data from the bar code and the data from the addenda. If TRUE, there is a space. If FALSE, there is no space. The default value is TRUE.

2 - 54

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

Page 68
Image 68
Hand Held Products 4X00 manual OemSetupEAN13, BAddendaReq, Resultt oemSetupEAN13