Вопрос

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!

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top