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.
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/ GtkPrintSetting s.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.