The UpcEanConvertGs1dataBarToUpcEan Decoder Setting is used to set the upcEanConvertGs1dataBarToUpcEan property.
| upcEanConvertGs1dataBarToUpcEan (Decoder Setting) <META> Syntax |
|---|
<META HTTP-Equiv="scanner" content="upcEanConvertGs1dataBarToUpcEan:[parameter]"> |
| upcEanConvertGs1dataBarToUpcEan JavaScript Object Syntax: |
|---|
| By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the upcEanConvertGs1dataBarToUpcEan. |
| To Set upcEanConvertGs1dataBarToUpcEan parameters via JavaScript use the following syntax: scanner.Parameter = Value; e.g. scanner.upcEanConvertGs1dataBarToUpcEan = Value; |
| UpcEanConvertGs1dataBarToUpcEan Ruby Object Syntax: |
|---|
| By default the Ruby Object 'Scanner' will exist on the current page and can be used to interact directly with the UpcEanConvertGs1dataBarToUpcEan. |
| To Set UpcEanConvertGs1dataBarToUpcEan parameters via Ruby use the following syntax: Scanner.Parameter = Value e.g. Scanner.upcEanConvertGs1dataBarToUpcEan = Value |
Items listed in this section indicate parameters, or attributes which can be set.
| Name | Possible Values | Description | Default Value |
|---|---|---|---|
| upcEanConvertGs1dataBarToUpcEan:[Value] | true / false | If true, GS1 DataBar barcodes will be converted to UPC/EAN format. For this setting to work UPC/EAN and GS1 DataBar symbologies must be enabled. | Device specific |
The upcEanConvertGs1dataBarToUpcEan decoder property was previously known as upcEanConvertRssToUpcEan. Code written for the old syntax decoder will be compatible with the new naming convention.
| RhoElements Version | 2.1 or above |
|---|---|
| Supported Devices | All supported devices. |
| Minimum Requirements | Scanner or Imager module and device that supports UPC-EAN and GS1 DataBar decoders |
| Persistence | Transient - Decoder settings are only guaranteed to persist until the Scanner is disabled |
The following example enables the scanner and sets upcEanConvertGs1dataBarToUpcEan property
<META HTTP-Equiv="scanner" Content="allDecoders:enabled"> <META HTTP-Equiv="scanner" Content="upcEanConvertGs1dataBarToUpcEan:true"> <META HTTP-Equiv="scanner" Content="enabled">