lukinbg
Technical User
- May 15, 2013
- 1
This script "watermark.ps" creates a watermark (=text in background) on each PDF page:
'<<
/BeginPage
{ gsave
/Helvetica_Bold findfont 72 scalefont setfont
.75 setgray 130 70 moveto 50 rotate Watermark show
grestore
} bind
>> setpagedevice
gs -q -dNOPAUSE -dSAFER -dBATCH -sOutputFile=output.pdf -sDEVICE=pdfwrite watermark.ps -f myfile.pdf
Any idea how to rewrite it to create a stamp (=text in foreground) on each PDF page?
'<<
/BeginPage
{ gsave
/Helvetica_Bold findfont 72 scalefont setfont
.75 setgray 130 70 moveto 50 rotate Watermark show
grestore
} bind
>> setpagedevice
gs -q -dNOPAUSE -dSAFER -dBATCH -sOutputFile=output.pdf -sDEVICE=pdfwrite watermark.ps -f myfile.pdf
Any idea how to rewrite it to create a stamp (=text in foreground) on each PDF page?