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

UpcEanSupplemental2 Decoder Setting

The UpcEanSupplemental2 Decoder Setting is used to enable or disable upcEanSupplemental2 supplemental barcodes.

Syntax

upcEanSupplemental2 (Decoder Setting) <META> Syntax

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

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

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

e.g. Scanner.upcEanSupplemental2 = Value

Parameters

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

Name Possible Values Description Default Value
upcEanSupplemental2:[Value] true/false Enables/disables the supplemental barcode decoding. Note you must have upcEanSupplementalMode:always set for this parameter to take effect Device specific

Remarks

#

Picklist mode

UPC EAN Supplemental 2 is not compatible with picklist mode.

Requirements

RhoElements Version 1.0.0 or above
Supported Devices All supported devices.
Minimum Requirements Scanner or Imager module and device that supports decoding upcEanSupplemental2 barcodes.
Persistence Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example enables the scanner to decode upcEanSupplemental2 barcodes:

<META HTTP-Equiv="Scanner" Content="allDecoders:enabled">
<META HTTP-Equiv="Scanner" Content="upcEanSupplementalMode:always">   
<META HTTP-Equiv="Scanner" Content="upcEanSupplemental2:true">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="Scanner" Content="allDecoders:enabled;upcEanSupplementalMode:always;upcEanSupplemental2:true;enabled">

or

<META HTTP-Equiv="Scanner-allDecoders" Content="enabled">
<META HTTP-Equiv="Scanner-upcEanSupplementalMode" Content="always">   
<META HTTP-Equiv="Scanner-upcEanSupplemental2" Content="true">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">
Back to Top