Question

I have a script witch use lpr to print the output to a PDF file. I would like to change the location or even the file name of the saved file. I read several forums about lpr and did not find anything on how to specify the name and the directory of the printed pdf. Instead I always get a standard name in my PDF directory.

Thank you!

Was it helpful?

Solution

Take a look at cups-pdf, https://help.ubuntu.com/community/PDFPrinting . You can configure the output directory and filename with it. The configuration file is /etc/cups/cups-pdf.conf.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top