[Bug 332472]

Ilja Sekler ilja_sekler_ at gmx.de
Wed Jan 12 14:16:42 UTC 2011


(In reply to comment #4)

> gtk_printer_accepts_pdf() has been fixed in gtk+ 2.24 so this function can be
> used to check if the printer supports PDF.

On Ubuntu 10.10, Firefox with this patch (and
<https://bugzilla.mozilla.org/attachment.cgi?id=502460>, of course)
applied still passes PS instead of PDF to CUPS, so probably either CUPS
or gtk2 on Ubuntu lies. Would it be better to offer a preference to
override detection and enforce PDF?

I get perfect prints of
<http://weblogs.mozillazine.org/asa/archives/2010/12/new_firefox_4_betas.html>
out of my HP inkjet printer only with a dirty private hack when I swap
kOutputFormatPS and kOutputFormatPDF in

format = (gtk_printer_accepts_ps(mGtkPrinter)) ? nsIPrintSettings::kOutputFormatPS
                                               : nsIPrintSettings::kOutputFormatPDF;

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to mozilla-thunderbird in ubuntu.
https://bugs.launchpad.net/bugs/332472

Title:
  Thunderbird cannot print to PDF




More information about the Ubuntu-mozillateam-bugs mailing list