Us4stateFics Decoder

RhoElements 2.x API

Overview

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;

Parameters

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

NamePossible ValuesDescriptionDefault Value
us4stateFics:[Value] enabled/DisabledEnables/Disables the us4stateFics decoder.Device specific

Requirements

RhoElements Version1.0.3 or above
Supported DevicesAll Supported Devices
Minimum RequirementsScanner or Imager module and device that supports us4state.
PersistenceTransient - 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();
}