Overview
The MsiCheckDigits Decoder Setting is used to set the msi checkdigits property.
Syntax
| msiCheckDigits (Decoder Setting) <META> Syntax |
|---|
<META HTTP-Equiv="scanner" content="msicheckdigits:[parameter]"> |
| msiCheckDigits JavaScript Object Syntax: |
|---|
| By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the msiCheckDigits. |
|
To Set msiCheckDigits parameters via JavaScript use the following syntax: scanner.Parameter = Value;
e.g. scanner.msiCheckDigits = Value; |
Parameters
Items listed in this section indicate parameters, or attributes which can be set.
| Name | Possible Values | Description | Default Value |
|---|---|---|---|
| msiCheckDigits:[Value] | one/two | Sets the msi checkdigits property to one or two. | 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 checkdigits property set:
<META HTTP-Equiv="scanner" Content="msi:enabled">
<META HTTP-Equiv="scanner" Content="msicheckdigits:one">
<META HTTP-Equiv="scanner" Content="enabled">
Above example can also be written as shown below:
<META HTTP-Equiv="scanner" Content="msi:enabled;msicheckdigits:one;enabled">
or
<META HTTP-Equiv="scanner-msi" Content="enabled">
<META HTTP-Equiv="scanner-msicheckdigits" Content="one">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">