You can easily add a virtual printer to utilize the print option and generate pdf documents. Just follow the steps below –
1. Open your terminal and type the command –
sudo apt-get install cups-pdf
2. Now add a printer – System->Administrator->Printing->New. From devices select “Generic CUPS-PDF Printer” and click forward. On the next screen click apply.
3. Try to print a test page and you may get an error message like “scheduler could not execute the backend”. To fix this issue, open your terminal and type the commands –
sudo chmod 700 /usr/lib/cups/backend/cups-pdf
sudo chmod 700 /usr/lib/cups/backend
Thats all you need.