How to add page numbers with their own overlay background to PDF using Ghostscript?

Finally it works. I’ve made 2 variants of the script. The 1st one is just page numbering where numbers have obscuring background so that motley pdf stuff could not make the numbers less readable. See: globaldict /MyPageCount 16 put << /EndPage { exch pop 0 eq dup { /Helvetica 12 selectfont MyPageCount =string cvs dup … Read more