IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#52137 - 07/27/15 10:22 AM Barcode scan on Page 1 only.
Anees Offline
OL Newbie

Registered: 07/14/13
Posts: 22
Loc: Kuwait
Hello All,
I am scanning multipage PDF files with a barcode on page 1 only. I want to extract the Barcode value on page 1 and assign in to a variable and ignore all following pages as it could be time taking to process all 20-30 pages in the file.

How can I specify the page no (1) for Barcode scan? Any help will be appreciated.
Regards
Anees

Top
#52148 - 07/27/15 02:57 PM Re: Barcode scan on Page 1 only. [Re: Anees]
Jeff_K
Unregistered


Anees,
If you set the Barcode Scan action "Process by" to 'Page', it will only have the first page results in the metadata. From here you can use the metadata or use SetJobInfo to place into a variable field.

Top
#52154 - 07/28/15 02:02 AM Re: Barcode scan on Page 1 only. [Re: ]
Anees Offline
OL Newbie

Registered: 07/14/13
Posts: 22
Loc: Kuwait
Hello Jeff,
Setting Barcode Scan action Process by to page does not work.

This sets the Barcode value to the Job Info in first iteration (page 1) and runs in a loop till end page (in my test case 5 iterations). The Job info is reset to null in subsequent iterations as there is no barcode to recognize in any other pages. This still processes all pages in the file and takes the same amount of total process time.

I am looking for an option to ignore all pages after page 1. This was the processing time and resources will be only for the requiered page. An alternative I may think of is to Set Job info on a branch after extracting only the first page from the PDF.
Regards
Anees

Top
#52158 - 07/28/15 07:44 AM Re: Barcode scan on Page 1 only. [Re: Anees]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1984
Loc: Objectif Lune, Montreal, Qc
Anees,

>> An alternative I may think of is to Set Job info on a branch after extracting only the first page from the PDF.

That's also how I would do it. It would have been much easier if the BarCode Scan task obeyed the current metadata filter settings as most other tasks do: you would then have been able to filter out all pages except the first one and then run the task. But unfortunately, it doesn't read the metadata before performing the scan. So your solution is the best workaround.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#57855 - 01/27/21 01:55 PM Re: Barcode scan on Page 1 only. [Re: Anees]
dvbsf Offline
OL Newbie

Registered: 01/07/20
Posts: 12
Loc: Florida
I'm coming into this a bit late but I think my question is similar. I want to run the barcode scan on the first page only; I do still want the entire packet so I don't want to split off the first page.
I have packets that are around 200 pages and it takes a long time to scan all those pages when all I'm using is the first page.

This was posted up above and I'm wondering what this means?
"An alternative I may think of is to Set Job info on a branch after extracting only the first page from the PDF."

Top