Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

3 Answers 3

up vote 7 down vote accepted

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?)

share|improve this answer
    
The quality is comparable but you don't get to specify the file name, it just saves it in '~/PDF' –  Joshua Aug 25 '10 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
share|improve this answer
    
Useful only for Firefox, but a good tip regardless. –  Ankur Banerjee Jun 22 '11 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.

share|improve this answer
1  
Please put meaningful text in the links. Especially for accessibility this is terrible. –  txwikinger Aug 20 '10 at 13:14
    
I apologize. fixed. :) –  myusuf3 Aug 20 '10 at 23:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.