How to get filename

fifou pchapuis1 at gmail.com
Wed Apr 16 14:31:25 PDT 2008


Hello,
I written a filter to add a header to PostScript file when I print from Suse over OPenOffice.
This header looks like this:
%-12345X at PJL JOB
@PJL JOB MODE=PRINTER
@PJL SET HOLD=STORE
@PJL SET HOLDTYPE=PRIVATE
@PJL SET USERNAME="linux-pch"
@PJL SET HOLDKEY="1222"
@PJL SET JOBNAME=""

I can't find anyway to get filename of my printed job and to fill in JOBNAME value.
I have created a variable in my filter but don't know what I can write.
Thanks for your help





More information about the cups mailing list