problem with postscript %%title

Daniel Stoeck trashmay at googlemail.com
Mon Sep 27 07:17:23 PDT 2010


I know this is not a pure CUPS problem. But I thought I might find my answer here. I want to use following command:

    lp -d THEPRINTERNAME -t THETITLEIWANT /tmp/theepsfilename.ps

The printer is one of many virtual PDF printers and I want to use the -t title argument to set the title respective the name of the PDF that will be genereated. But the PostScript file contains

    %%Title: anothername

which overwrites the -t argument or is preferred in some way. Does anyone here know a solution for this?

(the background of this is that I have manymanymany print jobs with the same %%Title variable within the PostScript file and I have to make the name of each upcoming PDF unique)

Regards,
Daniel




More information about the cups mailing list