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

UpcEanConvertGs1dataBarToUpcEan Decoder Setting

The UpcEanConvertGs1dataBarToUpcEan Decoder Setting is used to set the upcEanConvertGs1dataBarToUpcEan property.

Syntax

upcEanConvertGs1dataBarToUpcEan (Decoder Setting) <META> Syntax

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

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

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

e.g. Scanner.upcEanConvertGs1dataBarToUpcEan = Value

Parameters

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

Name Possible Values Description Default Value
upcEanConvertGs1dataBarToUpcEan:[Value] true / false If true, GS1 DataBar barcodes will be converted to UPC/EAN format. For this setting to work UPC/EAN and GS1 DataBar symbologies must be enabled. Device specific

Remarks

Legacy

The upcEanConvertGs1dataBarToUpcEan decoder property was previously known as upcEanConvertRssToUpcEan. Code written for the old syntax decoder will be compatible with the new naming convention.

Requirements

RhoElements Version 2.1 or above
Supported Devices All supported devices.
Minimum Requirements Scanner or Imager module and device that supports UPC-EAN and GS1 DataBar decoders
Persistence Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example enables the scanner and sets upcEanConvertGs1dataBarToUpcEan property

<META HTTP-Equiv="scanner" Content="allDecoders:enabled">
<META HTTP-Equiv="scanner" Content="upcEanConvertGs1dataBarToUpcEan:true">
<META HTTP-Equiv="scanner" Content="enabled">
Back to Top