Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Edit PDF Text

by jbullock35 (Hermit)
on May 17, 2006 at 07:51 UTC ( #549955=note: print w/replies, xml ) Need Help??

in reply to Edit PDF Text

It might be easiest to uncompress the PDF with pdftk and then just use perl for the substitution:
pdftk old.pdf output new.pdf uncompress perl -pi -e 's/oldstring/newstring/g' new.pdf
If you want to recompress the file,
pdftk new.pdf output new_compress.pdf compress

Replies are listed 'Best First'.
Re^2: Edit PDF Text
by avik (Novice) on May 17, 2006 at 17:17 UTC
    Thanks, I will take a look at this option!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://549955]
[marioroy]: Added MCE::Inbox demonstration to Re^3: Hobo with a bit of recursion. I need to include MCE::Inbox in the next MCE::Shared release. That was fun.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-06-22 22:54 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.