UpcEanConvertGs1dataBarToUpcEan Decoder Setting

RhoElements 2.x API

Overview

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;

Parameters

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

NamePossible ValuesDescriptionDefault Value
upcEanConvertGs1dataBarToUpcEan:[Value] true / falseIf 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 Version2.1 or above
Supported DevicesAll supported devices.
Minimum RequirementsScanner or Imager module and device that supports UPC-EAN and GS1 DataBar decoders
PersistenceTransient - 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">