upce0preamble Meta Tag

PocketBrowser 3.x API

The upce0preamble Meta Tag is an action tag used to set the upce0-preamble property, which controls the preamble applied to the bar code.



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

ParametersW Toggle Parameters

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

Name Possible Values Description
Default Value
upce0preamble:[Value] NONE/SYSTEM_CHAR/COUNTRY_AND_SYSTEM_CHARS if NONE Applies no preamble to the bar code.if SYSTEM_CHAR Applies system character preamble to the bar code.if COUNTRY_AND_SYSTEM_CHARS Applies both system and country code preamble to the bar code. 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 upce0 labels with the preamble property set to both system and country code preamble:

<META HTTP-Equiv="scanner" Content="upce0:enabled">
<META HTTP-Equiv="scanner" Content="upce0preamble:COUNTRY_AND_SYSTEM_CHARS">
<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="upce0:enabled;upce0preamble:COUNTRY_AND_SYSTEM_CHARS;enabled">
Copy example to clipboard Copy example to clipboard

or

<META HTTP-Equiv="scanner-upce0" Content="enabled">
<META HTTP-Equiv="scanner-upce0preamble" Content="COUNTRY_AND_SYSTEM_CHARS">
<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 upce0.