Upce1convertToUpca Decoder Setting

RhoElements 2.x API

Overview

The Upce1convertToUpca Decoder Setting is used to enable conversion from upce1 to upca bar code. If this flag is set, the bar code is converted to upca, and upca parameters are used.

Syntax

upce1convertToUpca (Decoder Setting) <META> Syntax

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

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

e.g. scanner.upce1convertToUpca = Value;

Parameters

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

NamePossible ValuesDescriptionDefault Value
upce1convertToUpca:[Value] true/falseEnables/Disables the property.Device specific

Requirements

RhoElements Version1.0.0 or above
Supported DevicesAll supported devices.
Minimum RequirementsScanner or Imager module and device that supports upce1 and upca.
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 upce1 labels with the ConvertToupca property set:

<META HTTP-Equiv="scanner" Content="upce1:enabled">
<META HTTP-Equiv="scanner" Content="upca:enabled">
<META HTTP-Equiv="scanner" Content="upce1ConvertToupca:true">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="upce1:enabled;upca:enabled;upce1ConvertToupca:true;enabled">

or

<META HTTP-Equiv="scanner-upce1" Content="enabled">
<META HTTP-Equiv="scanner-upca" Content="enabled">
<META HTTP-Equiv="scanner-upce1ConvertToupca" Content="true">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">