Thursday, August 7, 2008

Print in Firefox 3

firefoxAfter upgrading to Firefox 3 on my OpenBSD 4.4-beta box, I noticed that I could not print anymore. I'm using the stock lpd(8) to print. When I brought up the print dialog box, it only showed "Print to File" option.

After quite a bit of googling, I found my solution.




A post to Mozilla's bug tracker explained that this is a problem with GTK, not Firefox. To restore the ability to print, I had to create a new ~/.gtkrc-2.0 file and add this line:

gtk-print-backends = "file,lpr,cups"

Now I can print again. Yay!

4 comments:

  1. How do you install Firefox 3 in OpenBSD 4.3 ? The source code if of .mar (not tar.gz) which i googled with no luck

    I didn't see FF3 in 4.4-beta snapshot port/package

    Would it involve linux emulation? I also have no idea about it

    A blog about the process of installing / upgrading to FF3 would be beneficial

    Thx!

    ReplyDelete
  2. > How do you install Firefox 3 in OpenBSD 4.3?
    Official answer, upgrade to a snapshot.

    > I didn’t see FF3 in 4.4-beta snapshot port/package
    You didn't look hard enough. In recent snapshots, there is a firefox3-3.0.1p3.tgz package.

    > A blog about the process of installing / upgrading to FF3 would be beneficial
    $ sudo pkg_delete mozilla-firefox
    $ sudo pkg_add firefox3

    ReplyDelete
  3. great article. i am using cupsd, but as cups supports printing using the lp-commands, it works for me too :)

    thank you.

    ReplyDelete
  4. yup. it happened to me a few days ago.
    thanks for sharing the secret ;-)

    take care,
    giovanni

    ReplyDelete