Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mbachmann on February 03, 2004, 04:49:47 PM
-
Running the e-smith-cups-0.0.8-2sme6.src.rpm on SME 6.0 very well.
The pdf printer is writing jobs properly to an ibay. CUPS generates a job id for the file like:
user-Jan28-135048.pdf
How and where does CUPS generate its job ids and how do i modify it?
Background is: For certain circumstances the CUPS outfile must have a certain name like "pdfout".
-
To pick a nit, you don't want to change the cups job id, but rather the pdf backend's output format. The pdf backend is a shell script. It's at /usr/lib/cups/backend/pdf. You can simply change the OUTPUTFILENAME variable.
-
I love nitpickers. More nitpicking means usually less errors.
While it's neat script i just can copy the printed job to it's desired destination and renaming it for my convenience.
cp -f -p "OUTPUTFILENAME" "PDFDIR/temp.pdf" did the trick.
I've skimmed through the docs for several hours but was not able to find it. The structure of the Unix file locations is an ever growing mysterium.