Parameters

bXmitCheckDigit

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

bXmitNumSys

Points to a BOOL variable that determines if the engine will return the numeric system digit of the UPC label. If TRUE, the engine returns the number system digit. If FALSE, the number system digit is not returned. The default value is TRUE.

bAddenda2Digit

Points to a BOOL variable that determines if the engine will look for a 2 digit addenda at the end of the UPC 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 UPC 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.

oemSetupUPCE

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

Result_t oemSetupUPCE (

BOOL bXmitCheckDigit, BOOL bXmitNumSys, BOOL bExpandVersionE, BOOL bAddenda2Digit, BOOL bAddenda5Digit, BOOL bAddendaReq, BOOL bAddendaSeparator

)

Return Values

RESULT_SUCCESS

2 - 64

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

Page 78
Image 78
Hand Held Products 4X00 manual OemSetupUPCE, BXmitNumSys, Resultt oemSetupUPCE