I believe the bug is in this line in ev-print-operation.c: file_format = gtk_print_settings_get (print_settings, GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT);
... but the key GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT is only defined for the "output to file" pseudo-printer, according to http://library.gnome.org/devel/gtk/unstable/GtkPrintSettings.html I'm attaching a new patch. If file_format is NULL (which it is for any real printer) or "pdf" (which it is when you select "print to file" and choose pdf as the format), the patch will make evince output pdf. If file_format is "ps" (which it will only be if you select "print to file" and choose ps as the format), the patch will make evince output postscript. ** Attachment added: "Updated evince printing patch" http://launchpadlibrarian.net/28120406/evince-output-pdf.patch -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs