Parameters
SetupType
SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.
pEnabled
Points to a BOOL variable that contains the enabled state of this symbology upon returning from the function. A TRUE means the symbology is enabled; a FALSE means the symbology is disabled.
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.
pAddendaReq
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.
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.
oemGetSetupIATA25
This function is used to get the Straight 2 of 5 IATA
Result_t oemGetSetupIATA25 (
SetupType_t SetupType, BOOL *pEnabled, WORD *pMinLength, WORD *pMaxLength
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER
Parameters
SetupType
SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.
pEnabled
Points to a BOOL variable that contains the enabled state of this symbology upon returning from the function. A TRUE means the symbology is enabled; a FALSE means the symbology is disabled.
pMinLength
Points to a WORD variable that contains the minimum length decoded IATA 2 of 5 message the engine should return. IATA 2 of 5 messages smaller than this minimum length are not reported by the engine. The default value is 4.
pMaxLength
Points to a WORD variable that contains the maximum length decoded IATA 2 of 5 message the engine should return. IATA 2 of 5 messages larger than this maximum length are reported by the engine. The default value is 80.
2 - 26 | IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide |