Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to add some different text on every page on an existing pdf with ghostscript. Can someone help me how to do it? Thanks.

share|improve this question

There is no simple way to do this with Ghostscript. (The more complex way would be to write a longish PostScript program that would insert/stamp the text on each page. That would certainly be more work than using pdfmarks).

I suggest you consider to use pdftk:

 pdftk input.pdf stamp text.pdf output new.pdf
share|improve this answer

Your Answer


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.