Overview
The Tlc39 Decoder is used to enable or disable the tlc39 decoder.
Syntax
tlc39 (Decoder) <META> Syntax |
---|
<META HTTP-Equiv="scanner" content="tlc39:[parameter]"> |
tlc39 JavaScript Object Syntax: |
---|
By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the tlc39. |
To Set tlc39 parameters via JavaScript use the following syntax: scanner.Parameter = Value;
e.g. scanner.tlc39 = Value; |
Parameters
Items listed in this section indicate parameters, or attributes which can be set.
Name | Possible Values | Description | Default Value |
---|---|---|---|
tlc39:[Value] | enabled/Disabled | Enables/Disables the tlc39 decoder. | Device specific |
Remarks
Code39
In order to enable tlc39 barcode scanning, the code39 decoder must also be enabled.
Requirements
RhoElements Version | 1.0.0 or above |
---|---|
Supported Devices | All supported devices. |
Minimum Requirements | Scanner or Imager module and device that supports tlc39. |
Persistence | Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled |
HTML/JavaScript Examples
The following example enables the scanner to read tlc39 labels:
<META HTTP-Equiv="scanner" Content="allDecoders:disabled">
<META HTTP-Equiv="scanner" Content="code39:enabled">
<META HTTP-Equiv="scanner" Content="tlc39:enabled">
<META HTTP-Equiv="scanner" Content="enabled">
Above example can also be written as shown below:
<META HTTP-Equiv="scanner" Content="allDecoders:disabled;code39:enabled;tlc39:enabled;enabled">
Or:
function enableTlc39()
{
scanner.allDecoders = 'disabled';
scanner.tlc39 = 'enabled';
scanner.code39 = 'enabled';
scanner.enable();
}
The following example enables the scanner to read all labels except tlc39:
<META HTTP-Equiv="scanner" Content="allDecoders:enabled">
<META HTTP-Equiv="scanner" Content="tlc39:disabled">
<META HTTP-Equiv="scanner" Content="enabled">
Above example can also be written as shown below:
function disableTlc39()
{
scanner.allDecoders = 'enabled';
scanner.tlc39 = 'disabled';
scanner.enable();
}