I am using 10.04 and I use the 'Print to File' feature a lot but it's annoying to have to change the output option to to PDF each time. Is there a way to make it the default?

'Print to File' dialog

3 Answers 3


You can install the cups-pdf package, add a new printer of the type "Generic CUPS-PDF Printer", and then make that the default printer.

I don't use this myself, so I am not sure if the quality of the PDFs that creates is different (for better or for worse) than what the "save to file" feature provides though. (Maybe you can comment here on your experiences with it?)

  • The quality is comparable but you don't get to specify the file name, it just saves it in '~/PDF'
    – Joshua
    Aug 25, 2010 at 15:30

Here's how I made PDF the default:

Make Print-to-File default to PDF in Firefox.

First, open Firefox, then:

  1. about:config

  2. print.print_to_filename

  3. /home/user/Desktop/mozilla.pdf

    If the above instructions do not work, continue with the following:

  4. Print something from an installed printer using Firefox (entry may not show otherwise)

  5. about:config

  6. Type "print_to_filename"

  7. Identify the entry that has the exact name of the printer attached to your computer (e.g., print.printer_Canon-xxxx.print_to_filename)

  8. Change the Value to: /home/user/Desktop/mozilla.pdf
  • 1
    Useful only for Firefox, but a good tip regardless. Jun 22, 2011 at 21:45

I did some looking around interesting question. There is some discussion on Ubuntu forums.

Here are a couple of link I found useful, they seem to be talking about firefox method of changing it! I hope this helped you. :)

Here is the blog post on the topic as well as couple of Ubuntu forum links discussing the topic.

  • 1
    Please put meaningful text in the links. Especially for accessibility this is terrible.
    – txwikinger
    Aug 20, 2010 at 13:14
  • I apologize. fixed. :)
    – myusuf3
    Aug 20, 2010 at 23:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .