Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulate .pdf file 1

Status
Not open for further replies.

LJA520

Programmer
Nov 3, 2003
65
US
Hello,

We recieve a pdf file which is a report containing multiple pages for different accounts. I would like to seperate the file into different files for each acccount. Is there a way to read the text on the page, copy it and create a new pdf file with it???

Any idea's would be very helpful.

THANK YOU,
lja
 
If you have Acrobat, you can separate out the PDFs into separate one-page PDFs. You can even automate the process through an Acrobat Batch process.

You'll need Acrobat 6.0 Professional.

There are also some shareware utilities... google "PDF split".



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Well you don't have to have Acrobat 6 - you can separate a PDF into any number of pages with lower versions of Acrobat (unless you are referring to the batch processing).
 
Thanks for clarifying. Yes, I was referring to batch processing.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Great, thanks guys!! I will look into it. Is there a way with Acrobat to read text off of the page to determine when to create a new pdf?

Thanks!!!
lja
 
Not easily, no. PDFs are arranged as a collection of objects, with one of those objects being "Page". There are some programmatic hooks to other objects, but unless you're prepared to do some programming, not really.

I've written some Javascripts to break PDFs into "sections" based upon keyword/phrases, but again, in gets a little tricky.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Hi tgreer,

I don't mind writing something that will recognize the account number, if it is possible. Do you know if there is an Acrobat library that I can add as a reference to for vba?

Thank you,

lja
 
If you have Acrobat installed, you should see the appropriate object in your Object Browser. I don't know about VBA, though.

Again, I used Acrobat's built-in Javascript to do the trick.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
tgreer,

You have been very helpful thank you. I am going to get Acrobat soon and I will check it out everything.

THANKS!!
lja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top