7.5

Table Of Contents
The Comments tab, added in PlanetPress Suite 7.5, is common to all tasks. It contains a single text area (Task
comments)that lets you write comments about the task. These comments are saved when the dialog is closed with the
OKbutton, and are displayed in The Task Comments Pane.
Metadata Implementation
The Barcode Scan task reads each scanned file and outputs the values read from barcode(s) on the page(s) into metadata
depending of the selected Process by option:
l If the selected option is process by page, then the metadata file is created and overwritten for each new scanned
page.
l If the selected option is process by file, thenonly one metadata file will be created(or updated).
Note: If metadata was created previously in the process, the task only adds new fields to the existing metadata at the datap-
age level.
Metadata Fields
The barcode valuesare stored at the datapage level of the metadata. In the following defintions, the first 2 metadata fields are
for standard use,while the next 8 fields contain '_1_' in their name. This number represents the barcode index on the page. If
there is more than one barcode on the same page, these metadata fields will be defined as many times as there are barcodes
on the page, except that the middle number (..._X_...) will increment according to the barcode index (e.g. Barcode_2_Value,
Barcode_3_Value, etc.).
l BarcodeValue: Metadata field representing the value of the barcode. When multiple barcodes are present on the
page, this field is present multiple times.
l BarcodeCount: Metadata field representing the number of barcodes on the page.
l Barcode_1_Value: Metadata field representing the value of the first barcode on the page.Note that thisfield (Bar-
code_1_Value) contains the same value as the first occurrence of BarcodeValue.
l BarcodeBase64_1_Value: Metadata fieldcontaining the value of the first barcode, encoded in Base64.
l Barcode_1_Type: Metadata fieldcontaining the type of the first barcode (ex. EAN13, UPCA ).
l Barcode_1_Orientation: Metadata fieldcontaining the orientation of the first barcode.
l Barcode_1_Top: Metadata fieldproviding the distance (in pixels)from the top of the page to the top of the first bar-
code.
l Barcode_1_Bottom: Metadata fieldproviding the distance (in pixels) from the top of the page to the bottom of the
first barcode.
l Barcode_1_Left: Metadata fieldproviding the distance (in pixels) from the left of the page to the left side part of the
first barcode.
l Barcode_1_Right: Metadata fieldproviding the distance (in pixels) from the left of the page to the right side part of
the first barcode.
Accessing Barcode Value From a Workflow Tool
One method is to use a VBScriptwith the Open Script task, using the Watch.ExpandString command with a metadata com-
mand as its input parameter, in between double quotes. For example, the following script line gives the value of the first Bar-
codeValue metadata field of the first datapage:
watch.expandstring("GetMeta(BarcodeValue[0],0,Job.Group[0].Document[0].Datapage[0])")
Another method is to use a Set Job Info and Variables task to copy a metadata field into a Workflow variable.