User manual

86
4.52 OBRSetWPCAddonOption
This function sets up the decode options for WPC Addon symbology.
Calling Sequences
[C++]
int OBRSetWPCAddonOption(
BYTE byEnable,
BYTE byCheckDigit
)
[Visual Basic]
Public Shared Function OBRSetWPCAddonOption( _
ByVal byEnable As Byte, _
ByVal byCheckDigit As Byte _
) As Int32
[C#]
public static Int32 OBRSetWPCAddonOption(
Byte byEnable,
Byte byCheckDigit
);
Parameters
byEnable
This parameter is for specifying scanning status with WPC Addon symbology selecting one
of the values listed below. See note 1.
OBR_CODE_ENABLE : Enable WPC Addon symbology.
OBR_CODE_DISABLE : Disable WPC Addon symbology.
OBR_CODE_IGNORE : Continue with the current settings.
byCheckDigit
This parameter is for specifying check digit selecting either of the values listed below. To
set "OBR_CHKDOFF" in the parameter, be sure also to set the same value for the WPC
symbology. See note 2.
OBR_CHKDOFF : Without check digit calculation
OBR_CHKDON : With check digit calculation
Return Values
OBR_OK : Normal end
OBR_PRM : Parameter error
OBR_PON : Open already
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error