Pregunta

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!

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top