A A
RSS

Printing to PDF in Linux

Mon, Mar 2, 2009

Tweet this!

Did you know that any application that can print can create PDFs in Linux? OpenOffice.org has the function built-in, but this how-to will show you how to create PDFs of any document, using any application that has a print function.

1. First, you’ll need to install the CUPS PDF driver. CUPS is the Common Unix Printing System used by most distrobutions, including Ubuntu. In Ubuntu (or other debian-based distrobutions), this is as easy as the command:

sudo apt-get install cups-pdf

2. Now you’ll have to setup the PDF driver as a printer. Using the printer configuration utility, which can be found under the System – Administration – Printing menu, click the “New Printer” icon. You’ll see this screen; Note that there is now an option for “Print into PDF file.” Select it and click “Forward.”

3. You will be asked to select a printer from the database. As shown below, select “Generic” and click “Forward.”

4. Select “PDF file generator” in the left-hand column, and “Generic PDF File Generator” in the right column. This is probably already highlighted for you.

5. Give your PDF generator a name, just as you would any other printer, and you’re finshed! Now, you will have a PDF File Generator as an option in every print dialog, for every application. All PDFs are saved to the folder “PDF” in your home directory, or ~/PDF Note: Selecting “Print to File” does NOT create a PDF, it creates a PostScript file.

Like this post?

No related posts.

Leave a Reply

Subscribe

Weekly Poll

Do you have a backup system?

View Results

Loading ... Loading ...
TechThrob News
  • Loyal visitors will notice that TechThrob is sporting a new layout, which will make it easier to find great content and see what people are saying about hot posts. Additionally, post tags and categories are being reorganized, which should make it even easier to find what you’re looking for. Thanks for reading, and I hope you’ve found useful stuff here. If so, I encourage you to subscribe to the RSS feed.

Related Posts

No related posts.

Search TechThrob

Categories

Archives