Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am wondering ho to put a link text at the bottom of all pages of a pdf file using pdftk. Appreciate your help.

share|improve this question
    
can you watermark over an image of the url, or does it need to be clickable text? If clickable, what is the source of the pdf (scanned image, text output, pdf form, etc)? Post more details and I can probably help you. –  WebChemist Jul 18 '12 at 9:04
    
Well, that would be great if it is clickable, because the text is actually my site's link. –  hnns Jul 19 '12 at 21:53
    
ok... but you still haven't mentioned the pdf source. If you have a pdf form, you can make an empty form field and use FDF injection. Otherwise you could make a seperate pdf with your link and use background or stamp flags. Those 2 might be a problem for a pdf needing both selectable text and clickable watermark link. For that you might need to use uncompress and do a text replacement.... –  WebChemist Jul 20 '12 at 3:20
    
ok nevermind last comment. I thought stamp|background had issues with making original text non-selectable but I tried it and works ok. –  WebChemist Jul 20 '12 at 3:59
add comment

1 Answer

You can make a clickable watermark using the stamp method. First make a pdf with your link. Create a blank page with your link in the position it needs to be in word or some other word processor (or make a html page) and save as pdf/print to pdf. So if your document is original.pdf and the hyperlink watermark you just made is link.pdf, the usage would be:

pdftk original.pdf stamp link.pdf output final.pdf

The final pdf will still have selectable text and your link will be stamped on top of the original content in the position you placed it, on every page of the original pdf. Obviously you need to include folder paths if the stamp and the original are not in the same folder

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.