Starting with Intrepid, the print to file option is integratedwhen you print.  However, with some programs, this causes garbled text after the first page, while other programs do not work with this option (check how to save documents from Scribd.com when disabled).

We can solve this problem with the good old cups-pdf tool.  We start by installing it with apt-get:

sudo apt-get install cups-pdf

install cups-pdf

change permissions
sudo chmod +s /usr/lib/cups/backend/cups-pdf

now when you goto system -> Administration -> printing
you should have a PDF printer. When you print, just select the PDF printer and by default the files are saved in a folder called PDF, so we will create this folder.

sudo mkdir ~/PDF/

mkdir ~/PDF/

You can change the default location by editing the .conf file :

sudo gedit /etc/cups/cups-pdf.conf

Popularity: 10% [?]