UpcEanRetryCount Decoder String

RhoElements 2.x API

Overview

The UpcEanRetryCount Decoder String is used to set the upc_ean retrycount for auto-discriminating for supplementals. Possible values are 2 to 20 inclusive.

Syntax

upcEanRetryCount (Decoder String) <META> Syntax

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

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

e.g. scanner.upcEanRetryCount = Value;

Parameters

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

NamePossible ValuesDescriptionDefault Value
upcEanRetryCount:[Value] Numeric value (2 - 20)Sets the retry count for auto-discriminating for supplementals (2 - 20).Device specific

Requirements

RhoElements Version1.0.0 or above
Supported DevicesAll supported devices.
Minimum RequirementsScanner or Imager module and device that supports upc_ean.
PersistenceTransient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example sets the scanner to retry upc_ean codes 8 times:

<META HTTP-Equiv="scanner" Content="allDecoders:disabled">
<META HTTP-Equiv="scanner" Content="upcEanSupplementalMode:auto">
<META HTTP-Equiv="scanner" Content="upcEanRetryCount:8">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="allDecoders:disabled;upcEanSupplementalMode:auto;upcEanRetryCount:8;enabled">

or

<META HTTP-Equiv="scanner-allDecoders" Content="disabled">
<META HTTP-Equiv="scanner-upcEanSupplementalMode" Content="auto">
<META HTTP-Equiv="scanner-upcEanRetryCount" Content="8">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">