(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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/332472 Title: Thunderbird cannot print to PDF -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs