Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2017-12-18 00:21 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (466 votes). Check out past polls.