Per Jessen email@example.com wrote:
Brian K. White wrote:
On 12/19/2012 4:38 AM, Per Jessen wrote:
I'm experimenting with adding a watermark/letterhead to a cups printing queue. I've seen a couple of suggestions on the net, the most promising ones by way of a cups filter and some postscript trickery. My problem is right now that the printjobs are sent as PJL, which ps2pdf, pdftk etc. cannot or will not deal with.
My situation is essentially - I have a letterhead document (in odt, pdf or ps format) that I would like to add to every page printed in
dedicated cups queue. I don't want to fiddle with the *office setup on any individual PC, I want this to happen transparently.
PJL? Really all PJL not just a little pjl header in front of pcl?
Well, yes, just a few lines in front and back. I don't have much experience with printing etc.
I'm now wondering if I could just separate the PJL lines from the postscript, do my merging/overlay, then add the PJL back?
Does pcl2pdf or pcl2ps render the files?
I did find some PCL-parser package, but not those two.
Would it be possible to define a default template that has the watermark in it?
Almost certainly possible, but it would only work for openoffice writer, not for acrobat. It also complicates the PC setup/process for everyone.