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

UpcEanRetryCount Decoder String

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

Name Possible Values Description Default Value
upcEanRetryCount:[Value] Numeric value (2 - 20) Sets the retry count for auto-discriminating for supplementals (2 - 20). 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 upc_ean.
Persistence Transient - 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">
Back to Top