Need the Ability to Read Multiple Barcodes from PDF

I've found posts indicating that I can read multiple symbologies from a single document. My business need is similar.

In the attached PDF file, I have one PDF document with 4 pages. There is a unique barcode on page 2, 3, and 4. Using the attached code, I need to be able to uniquely identify each barcode.

It seems as though when I run a single page PDF document (with only 1 barcode) through this code, the BarCodeReader can sufficently identify the barcode and the corresponding CodeText.

When I run a multi-page PDF document (with multiple barcodes) through this code, the BarCodeReader cannot identify the barcodes and the corresponsing CodeText.

Please help. This is a high-priority issue that I need an answer to as soon as possible. Thanks.

Hi,


Thanks for posting the sample document.

I also tried at my end, the images are extracted but barcodes could not be read. I have sent this PDF to the developers for their analysis and will get back to you with the feedback shortly. Sorry for the inconvenience.

Saqib,

Please inform your dev team that they no longer need to look into this issue. I was able to resolve the issue myself.

You'll notice that in my original post, I made reference to a multi-page PDF that contained multiple barcodes that were of high quality; there was little or no degredation with the barcodes whatsoever. In my original post, though, I was unable to read the barcodes. This was for two reasons:

1. The barcodes were enclosed in a surrounding box on our PDF document. The lines on that box were solid black lines that caused potential to interfere with the "read" of the enclosed barcodes at runtime.

2. When the BarCodeBuilder object initially created the barcodes, its margins were set at 2.0f. There was not enough space around the barcodes.

I've made two updates to my code:

1. The lines on the box surrounding the barcodes on our PDF document were updated so that they appeared as dashed lines. With this update in place, the dashed lines do not seem to interfere with the BarCodeReader's job at runtime.

2. I've upped the margins at barcode creation time from 2.0f to 3.0f. That gives the barcodes sufficient margins and resulting space to be read.

I'd suggest updating the API documentation to make a note about placing "boxes" around barcodes.

Thanks,

Mike Lukatchik, United One Resources, Inc