d2of5MinLength Meta Tag

PocketBrowser 3.x API

The d2of5MinLength Meta Tag is an action tag used to set the d2of5 MinLength property. Setting this property will help prevent partial decoding of barcodes.

d2of5MinLength (META Tag) Syntax
<META HTTP-Equiv="scanner" content="d2of5minlength:[parameter>

ParametersW Toggle Parameters

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

Name Possible Values Description
Default Value
d2of5minlength:[Value] Numeric value (0 - 55) Numeric value setting the minimum number of characters for the d2of5 structure (0 - 55). Device specific
Copy parameters template to clipboard: Copy META Tag template to clipboard META Tags Copy Javascript template to clipboard Javascript

Examples Toggle Examples

The following example enables the scanner to read only d2of5 labels with the MinLength property set to 30:

<META HTTP-Equiv="scanner" Content="d2of5:enabled">
<META HTTP-Equiv="scanner" Content="d2of5MinLength:30">
<META HTTP-Equiv="scanner" Content="enabled">
Copy example to clipboard Copy example to clipboard

Above example can also be written as shown below:

<META HTTP-Equiv="scanner" Content="d2of5:enabled;d2of5MinLength:30;enabled">
Copy example to clipboard Copy example to clipboard

or

<META HTTP-Equiv="scanner-d2of5" Content="enabled">
<META HTTP-Equiv="scanner-d2of5MinLength" Content="30">
<META HTTP-Equiv="scanner-enabled" Content="SCN1">
Copy example to clipboard Copy example to clipboard

Info Toggle Additional Information

Supported Platforms Windows CE, Windows Mobile, Windows Mobile SE
Persistence This tag is persistent.
Min. Requirements Scanner or Imager module and device supports d2of5.