Wednesday, 1 July 2009

Getting ubuntu to print to a PDF

A great way of saving web pages is to print them to a PDF file. With windows I used the CutePDF utility for ubuntu you need cups-pdf. The installation is practically an automatic process but without a second step it WILL FAIL.
I got this working with:
sudo apt-get install cups-pdf
mkdir ~/PDF
The first step downloads the correct application and installs it automatically into the printers. However without the second step printing will fail.
Cute PDF asked for the pdf file name everytime it was used. cups-pdf simply creates the file for you in the PDF folder and the name is automatically assigned. This means that if you print the same web page then the second print will overwrite the first one - without warning. So - you have been warned :)

No comments:

Post a Comment