I suppose, that it's not a bug of evince but a feature... Since version
2.27.4 in ev-print-operation.c the lines

export->fc.format = file_format && g_ascii_strcasecmp (file_format, "pdf") == 0 
?
                        EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS;

changed to

if (file_format) {
                export->fc.format = g_ascii_strcasecmp (file_format, "pdf") == 
0 ?
                        EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS;
        } else {
                export->fc.format = gtk_printer_accepts_pdf (printer) ?
                        EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS;
        }

so that evince > 2.27.3 sends pdf-file (if print system supports pdf-input) 
even if file_format is NULL what ever - I don't understand it completely...
In the case of the problematic files evince sends pdf-files since version 
2.27.4 and ps-files in earlier versions. This change causes the problem. But 
the bug probably lies not in evince?!?

-- 
Printing from evince (and perhaps other GTK apps) to PostScript printers is 
broken
https://bugs.launchpad.net/bugs/419143
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to