Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: PDF File Merging Data

by bcrowell2 (Friar)
on Dec 22, 2010 at 20:06 UTC ( #878649=note: print w/ replies, xml ) Need Help??


in reply to PDF File Merging Data

There's a very handy tool called pdftk that I use on linux. Try something like this:

pdftk foo.pdf output foou.pdf uncompress

This will convert a binary pdf into an uncompressed pdf that you can open in a text editor. The uncompressed one is still a valid pdf that can be opened in Adobe Reader, etc. As a test, you could just try hand-editing the file to see if the result is acceptable. If that works, then automating the process in perl should be pretty trivial.


Comment on Re: PDF File Merging Data
Download Code
Re^2: PDF File Merging Data
by thargas (Chaplain) on Dec 23, 2010 at 12:55 UTC
    Even better, if you're going to use pdftk: look at the docs. They claim that it does fill-in forms, providing the PDF was created correctly to start with. I've never used it, but a colleague has used this functionality in a previous incarnation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://878649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-09-15 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls