Overview
The MsiCheckDigitScheme Decoder Setting is used to set the msiCheckDigitScheme property to describe the check digit scheme to verify.
Syntax
| msiCheckDigitScheme (Decoder Setting) <META> Syntax | 
|---|
<META HTTP-Equiv="scanner" content="msiCheckDigitScheme:[parameter]">  | 
| msiCheckDigitScheme JavaScript Object Syntax: | 
|---|
| By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the msiCheckDigitScheme. | 
| 
To Set msiCheckDigitScheme parameters via JavaScript use the following syntax: scanner.Parameter = Value;
 e.g. scanner.msiCheckDigitScheme = Value;  | 
Parameters
Items listed in this section indicate parameters, or attributes which can be set.
| Name | Possible Values | Description | Default Value | 
|---|---|---|---|
| msiCheckDigitScheme:[Value] | mod11/mod10 | if value is "mod11 then the first check digit is MOD 11, the second is MOD 10. if value is "mod10" then both check digits are MOD 10. | Device specific | 
Requirements
| RhoElements Version | 1.0.0 or above | 
|---|---|
| Supported Devices | All supported devices. | 
| Minimum Requirements | Scanner or Imager module and device that supports MSI. | 
| Persistence | Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled | 
HTML/JavaScript Examples
The following example enables the scanner to read only msi labels with the CheckDigitScheme property set to both check digits being MOD 10:
<META HTTP-Equiv="scanner" Content="msi:enabled">
<META HTTP-Equiv="scanner" content="msicheckdigits:true">
<META HTTP-Equiv="scanner" Content="msiCheckDigitScheme:mod10">
<META HTTP-Equiv="scanner" Content="enabled">
Above example can also be written as shown below:
<META HTTP-Equiv="scanner" Content="msi:enabled;msicheckdigits:true;msiCheckDigitScheme:mod10;enabled">
or
<META HTTP-Equiv="scanner-msi" Content="enabled">
<META HTTP-Equiv="scanner-msicheckdigits" content="true">
<META HTTP-Equiv="scanner-msiCheckDigitScheme" Content="mod10">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">