The upca_preamble Meta Tag is an action tag used to set the upcapreamble property, which controls the preamble applied to the bar code.
upcapreamble (META Tag) Syntax <META HTTP-Equiv="scanner" content="upcapreamble:[parameter>
Parameters
Items listed in this section indicate parameters, or attributes which can be set.
Name Possible Values Description
Default Value upcapreamble:[Value] NONE/SYSTEM_CHAR/COUNTRY_AND_SYSTEM_CHARS if value is NONE Applies no preamble to the bar code.if value is SYSTEM_CHAR then Applies system character preamble to the bar code.if value is COUNTRY_AND_SYSTEM_CHARS Applies both system and country code preamble to the bar code. Device specific
Copy parameters template to clipboard: META Tags
Javascript
Examples
The following example enables the scanner to read only upca labels with the preamble property set to both system and country code preamble:
<META HTTP-Equiv="scanner" Content="upca:enabled"> <META HTTP-Equiv="scanner" Content="upcapreamble:COUNTRY_AND_SYSTEM_CHARS"> <META HTTP-Equiv="scanner" Content="enabled">
Copy example to clipboard
Above example can also be written as shown below:
<META HTTP-Equiv="scanner" Content="upca:enabled;upcapreamble:COUNTRY_AND_SYSTEM_CHARS;enabled">
Copy example to clipboard
or
<META HTTP-Equiv="scanner-upca" Content="enabled"> <META HTTP-Equiv="scanner-upcapreamble" Content="COUNTRY_AND_SYSTEM_CHARS"> <META HTTP-Equiv="scanner-enabled" Content="SCN1">
Copy example to clipboard
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 upca.
META Tags