Upce0convertToUpca Decoder Setting

RhoElements 2.x API

Overview

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;

Parameters

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

NamePossible ValuesDescriptionDefault Value
upce0convertToUpca:[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 upce0 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 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">