Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 (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?
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 having an uproarious good time at the Monastery: (4)
As of 2015-07-04 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls