Code128securityLevel Decoder Setting

RhoElements 2.x API

Overview

The Code128securityLevel Decoder Setting is used to set the code128securityLevel which describes the Code 128 security level.

Syntax

Code128securityLevel (Decoder Setting) <META> Syntax

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

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

e.g. scanner.code128securityLevel = Value;

Parameters

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

NamePossible ValuesDescriptionDefault Value
code128securityLevel:[Value] 0 - 3 inclusive0: This setting allows the scanner to operate in its most aggressive state, while providing sufficient security in decoding most 'in-spec' barcodes. 1: This setting eliminates most mis-decodes. 2: Select this option if security level 1 fails to eliminate mis-decodes. 3: Select this option if security level 1 and 2 fail to eliminate mis-decodes. Be advised that selecting level 3 is an extreme measure against mis-decoding and will significantly impair the decoding ability of the scanner.Device Specific

Requirements

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

HTML/JavaScript Examples

The following example sets the code128securityLevel to level 2:

<META HTTP-Equiv="scanner" Content="allDecoders:enabled">
<META HTTP-Equiv="scanner" Content="code128securityLevel:2">
<META HTTP-Equiv="scanner" Content="enabled">

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="allDecoders:enabled;code128securityLevel:2;enabled">

or

<META HTTP-Equiv="scanner-allDecoders" Content="enabled">
<META HTTP-Equiv="scanner-code128securityLevel" Content="2">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">