msiMaxLength Meta Tag

PocketBrowser 3.x API

The msiMaxLength Meta Tag is an action tag used to set the msi MaxLength property. Setting this property will help prevent partial decoding of barcodes.

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

ParametersW Toggle Parameters

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

Name Possible Values Description
Default Value
msimaxlength:[Value] Numeric value (0 - 55) Numeric value setting the maximum number of characters for the msi 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 msi labels with the MaxLength property set to 30:

<META HTTP-Equiv="scanner" Content="msi:enabled">
<META HTTP-Equiv="scanner" Content="msimaxlength: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="msi:enabled;msimaxlength:30;enabled">
Copy example to clipboard Copy example to clipboard


<META HTTP-Equiv="scanner-msi" Content="enabled">
<META HTTP-Equiv="scanner-msimaxlength" 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 msi.