Difference between revisions of "Talk:Ubuntu How Do I: A Linux Q&A"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(cups-pdf discussion: new section)
 
(cups-pdf discussion)
Line 17: Line 17:
  
 
2) The output files are named with pre-defined names (job_8-untitled_document.pdf is an example).
 
2) The output files are named with pre-defined names (job_8-untitled_document.pdf is an example).
 +
 +
“Starting with version 1.2.0 CUPS implements the “RunAsOption” no longer. In order to ensure CUPS-PDF is running with the required root privileges you have to make ‘root’ the owner of the cups-pdf backend and set the file permissions of the backend to 0700 (root only).”
 +
 +
Simply do a “sudo chmod +s /usr/lib/cups/backend/cups-pdf”.
 +
 +
OpenOffice can export directly to pdf format. It’s not necesary to use cups-pdf printer generated.

Revision as of 11:06, 26 June 2015

cups-pdf discussion

Install cups-pdf by using:

$sudo apt-get install cups-pdf

Edit /etc/cups/cupsd.conf and change the line that says:

RunAsUser Yes

to

RunAsUser No

Restart cupsys:

$sudo /etc/init.d/cupsys restart

Add a new printer (System->Administration->Printing) selecting the “Local Printer” “PDF Printer” option. In the next step choose “Generic Printer” and then used the “Postscript Color Printer (Ver 3)” driver.

1) The output .pdf files are stored in your “Home” directory.'

2) The output files are named with pre-defined names (job_8-untitled_document.pdf is an example).

“Starting with version 1.2.0 CUPS implements the “RunAsOption” no longer. In order to ensure CUPS-PDF is running with the required root privileges you have to make ‘root’ the owner of the cups-pdf backend and set the file permissions of the backend to 0700 (root only).”

Simply do a “sudo chmod +s /usr/lib/cups/backend/cups-pdf”.

OpenOffice can export directly to pdf format. It’s not necesary to use cups-pdf printer generated.