User manual

104
4.61 OBRSetUPCEOption
This function sets up the decode options for UPC-E symbology.
Calling Sequences
[C++]
int OBRSetUPCEOption(
BYTE byEnable,
BYTE byCheckDigit,
BYTE byCheckChar
)
[Visual Basic]
Public Shared Function OBRSetUPCEOption( _
ByVal byEnable As Byte, _
ByVal byCheckDigit As Byte, _
ByVal byCheckChar As Byte _
) As Int32
[C#]
public static Int32 OBRSetUPCEOption(
Byte byEnable,
Byte byCheckDigit,
Byte byCheckChar
);
Parameters
byEnable
This parameter is for specifying scanning status with UPC-E symbology selecting one of
the values listed below.
OBR_CODE_ENABLE : Enable UPC-E symbology.
OBR_CODE_DISABLE : Disable UPC-E 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 UPC-E
Addon symbology. See note.
OBR_CHKDOFF : Without check digit calculation
OBR_CHKDON : With check digit calculation
byCheckChar
This parameter is for specifying check character selecting either of the values listed below.
OBR_CHKKOFF : Without check character output
OBR_CHKKON : With check character output