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

Upce0convertToUpca Decoder Setting

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

Syntax

upce0convertToUpca (Decoder Setting) <META> Syntax

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

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

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

e.g. Scanner.upce0convertToUpca = Value

Parameters

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

Name Possible Values Description Default Value
upce0convertToUpca:[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 upce0 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 upce0 labels with the ConvertToupca property set:

<META HTTP-Equiv="scanner" Content="upce0:enabled">
<META HTTP-Equiv="scanner" Content="upca:enabled">
<META HTTP-Equiv="scanner" Content="upce0ConvertToupca:true">
<META HTTP-Equiv="scanner" Content="enabled">

The following example enables the scanner to read only upce0 labels with the ConvertToupca property set:

<META HTTP-Equiv="scanner" Content="upce0:enabled;upca:enabled;upce0ConvertToupca:true;enabled">

The following example enables the scanner to read only upce0 labels with the ConvertToupca property set:

<META HTTP-Equiv="scanner-upce0" Content="enabled">
<META HTTP-Equiv="scanner-upca" Content="enabled">
<META HTTP-Equiv="scanner-upce0ConvertToupca" Content="true">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">
Back to Top