How to get filename

Justin Huang justin.huang at liteon.com
Wed Apr 16 22:01:56 PDT 2008


Hi,
Why don't you fill it with argv[3]? It is defined to be the title/job-name associated with this job (name string).

Justin Huang

> 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