To the gentleman (and interested parties) who emailed me with this question:
How do I use an EPS image as a watermark, by placing code in Distiller's prologue.ps?
I was too quick with the "select all/delete" email option, losing your email/email address, so I'll post the answer here.
The code I sent you will work fine, I just neglected to show you how to split things up!
A sample prologue.ps file is available here:
The technique is exactly the same. You build a file object using the ReusableStreamDecode filter, which is subsequently used in a PostScript Form Dictionary.
Then you define a /BeginPage procedure which executes that form.
This way, whenever your PostScript programs perform a "showpage", the BeginPage procedure is called automatically, which executes the cached form.
The result is an image watermark on every page, with a neglible performance hit due to the form caching.
Thomas D. Greer
How do I use an EPS image as a watermark, by placing code in Distiller's prologue.ps?
I was too quick with the "select all/delete" email option, losing your email/email address, so I'll post the answer here.
The code I sent you will work fine, I just neglected to show you how to split things up!
A sample prologue.ps file is available here:
The technique is exactly the same. You build a file object using the ReusableStreamDecode filter, which is subsequently used in a PostScript Form Dictionary.
Then you define a /BeginPage procedure which executes that form.
This way, whenever your PostScript programs perform a "showpage", the BeginPage procedure is called automatically, which executes the cached form.
The result is an image watermark on every page, with a neglible performance hit due to the form caching.
Thomas D. Greer