Code128MaxLength Meta Tag

PocketBrowser 3.x API

The Code128MaxLength Meta Tag is an action tag used to set the Code128 MaxLength property.

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

ParametersW Toggle Parameters

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

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

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

Above example can also be written as shown below:

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

or

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