UpcEanLinearDecode Decoder Setting

RhoElements 2.x API

Overview

The UpcEanLinearDecode Decoder Setting is used to enable the linear decode property.

Syntax

upcEanLinearDecode (Decoder Setting) <META> Syntax

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

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

e.g. scanner.upcEanLinearDecode = Value;

Parameters

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

NamePossible ValuesDescriptionDefault Value
upcEanLinearDecode:[Value] true/falseSets the linear decode property to 'true' or 'false'.Device specific

Requirements

RhoElements Version1.0.0 or above
Supported DevicesAll supported devices except: Enterprise Tablet.
Minimum RequirementsScanner or Imager module and device that supports the upcEanLinearDecode property.
PersistenceTransient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example switches on the upcEanLinearDecode property:

<META HTTP-Equiv="scanner" Content="allDecoders:enabled">
<META HTTP-Equiv="scanner" Content="upcEanLinearDecode:true">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="allDecoders:enabled;upcEanLinearDecode:true;enabled">

or

<META HTTP-Equiv="scanner-all_decoders" Content="enabled">
<META HTTP-Equiv="scanner-upcEanLinearDecode" Content="true">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">