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

Upce1convertToUpca Decoder Setting

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;
Upce1convertToUpca Ruby Object Syntax:
By default the Ruby Object 'Scanner' will exist on the current page and can be used to interact directly with the Upce1convertToUpca.
To Set Upce1convertToUpca parameters via Ruby 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.

Name Possible Values Description Default Value
upce1convertToUpca:[Value] true/false Enables/Disables the property. Device specific

Requirements

RhoElements Version 1.0.0 or above
Supported Devices All supported devices.
Minimum Requirements Scanner or Imager module and device that supports upce1 and upca.
Persistence Transient - 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">
Back to Top