MacroPdfBufferLabels Decoder Setting

RhoElements 2.x API

Overview

The MacroPdfBufferLabels Decoder Setting is used to set the macroPdfBufferLabels property.

Syntax

macroPdfBufferLabels (Decoder Setting) <META> Syntax

<META HTTP-Equiv="scanner" content="macroPdfBufferLabels:[parameter]">

macroPdfBufferLabels JavaScript Object Syntax:
By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the macroPdfBufferLabels.
To Set macroPdfBufferLabels parameters via JavaScript use the following syntax: scanner.Parameter = Value;

e.g. scanner.macroPdfBufferLabels = Value;

Parameters

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

NamePossible ValuesDescriptionDefault Value
macroPdfBufferLabels:[Value] true / falseIf true, the scanner driver will return the barcode data only after the complete macroPdf sequence has been read. If false, the scan driver will return each barcode in the macroPdf sequence as it is read.Device specific

Requirements

RhoElements Version1.0.0 or above
Supported DevicesAll supported devices except: Enterprise Tablet.
Minimum RequirementsScanner or Imager module and device that supports MacroPDF.
PersistenceTransient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example enables the scanner and sets macroPdfBufferLabels property

<META HTTP-Equiv="scanner" Content="macroPdf:enabled">
<META HTTP-Equiv="scanner" Content="macroPdfBufferLabels:true">
<META HTTP-Equiv="scanner" Content="enabled">