HOWTO: Print to a pdf in Firefox

April 6th, 2007 Mario Hochreiter

Recently I wanted to print a web page to a pdf file. As I am using Firefox as my default web browser in Kubuntu this does not work out of the box like in Konqueror. Following steps are necessary to print from Firefox with kprinter (which is able to print to a pdf):

  • Type about:config in the adress bar of Firefox
  • In the filter bar type: print.printer_PostScript/Default.print_command
  • Double click on the entry and enter the following value in the popup box: kprinter --stdin

From now on you will get the KPrinter dialog and be able to print to pdf, postscript, etc, and of course to the real printers.

Entry Filed under: Ubuntu, Linux

2 Comments Add your own

  • 1. moflicka  |  July 12th, 2007 at 3:46 am

    Thanks for your post, it was the first after a few minutes of googling that explained why I couldn’t print…sadly no one else posted this missing link

    from a linux newbie….

  • 2. josh  |  August 5th, 2007 at 3:42 pm

    Thanks for posting this info!

    Note that on my (K)Ubuntu 7.04 with firefox 2.0.0.4 the entry was under:

    print.postscript.print_command

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

April 2007
M T W T F S S
« Mar   May »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Most Recent Posts