Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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
Replies are listed 'Best First'.
Re^2: PDF File Merging Data
by thargas (Deacon) 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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2015-11-30 17:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls