Is it possible in Ghostscript to add watermark to every page in PDF
Bit too big for a comment, so I’ve added a new answer. The EndPage procedure (see page 441 of the PostScript Language Reference Manual) takes two additional parameters on the stack, a count of pages emitted so far, and a reason code. You can use the count of pages to do interesting things like duplexing, … Read more