Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

MacroPdfBufferLabels Decoder Setting

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;
MacroPdfBufferLabels Ruby Object Syntax:
By default the Ruby Object 'Scanner' will exist on the current page and can be used to interact directly with the MacroPdfBufferLabels.
To Set MacroPdfBufferLabels parameters via Ruby 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.

Name Possible Values Description Default Value
macroPdfBufferLabels:[Value] true / false If 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 Version 1.0.0 or above
Supported Devices All supported devices except: Enterprise Tablet.
Minimum Requirements Scanner or Imager module and device that supports MacroPDF.
Persistence Transient - 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">
Back to Top