Printing to PDF File in Ubuntu

Posted in Ubuntu HowTo's by tux4life on January 12, 2009

We all know that OpenOffice has a very nice feature to export any document to a PDF file.

But still, I was looking for a solution to print to a PDF file.  Yet again, with google’s help I found out that this functionality is provided by the package cups-pdf.

Follow the steps below to install and configure this package.

Open up a terminal and use the following command to install this package.

sudo apt-get install cups-pdf

Restart the printer service using

sudo /etc/init.d/cups restart

Finally, open up the printer configuration dialog using

System -> Administration -> Printing

Add a new printer by selecting “PDF Printer”, continue by selecting defaults.

Now when printing, you can select the newly created printer to print to a PDF file.

Tagged with: , ,