Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

Us4stateFics Decoder

The Us4stateFics Decoder is used to enable or disable the US 4-state FICS decoder.

Syntax

us4stateFics (Decoder) <META> Syntax

<META HTTP-Equiv="scanner" content="us4stateFics:[parameter]">

us4stateFics JavaScript Object Syntax:
By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the us4stateFics.
To Set us4stateFics parameters via JavaScript use the following syntax: scanner.Parameter = Value;

e.g. scanner.us4stateFics = Value;
Us4stateFics Ruby Object Syntax:
By default the Ruby Object 'Scanner' will exist on the current page and can be used to interact directly with the Us4stateFics.
To Set Us4stateFics parameters via Ruby use the following syntax: Scanner.Parameter = Value

e.g. Scanner.us4stateFics = Value

Parameters

Items listed in this section indicate parameters, or attributes which can be set.

Name Possible Values Description Default Value
us4stateFics:[Value] enabled/Disabled Enables/Disables the us4stateFics decoder. Device specific

Requirements

RhoElements Version 1.0.3 or above
Supported Devices All Supported Devices
Minimum Requirements Scanner or Imager module and device that supports us4state.
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 Us4StateFics labels:

<META HTTP-Equiv="scanner" Content="allDecoders:disabled">
<META HTTP-Equiv="scanner" Content="us4stateFics:enabled">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="allDecoders:disabled;us4stateFics:enabled;enabled">

or

function enableUs4StateFics()
{
    scanner.allDecoders = 'disabled';
    scanner.us4stateFics = 'enabled';
    scanner.enable();
}
Back to Top