We can use PostScript’s Endpage procedure to e.g. add a signature to each
page of a PDF file, using only ghostscript.
In contrast to the earlier article using TeX, this method is suitable
for a small annotation that is identical for every page.
This definition of EndPage will …