]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-print-job.c
Patch from Nickolay Shmyrev to fix the -p option, #170458
[evince.git] / shell / ev-print-job.c
index 8363639861105632257be2e7f1de722c252e4608..e7c1ce1b431d065a349d4f4aab539c98810656c1 100644 (file)
@@ -258,7 +258,8 @@ idle_print_handler (EvPrintJob *job)
        if (!job->printing) {
                ev_document_doc_mutex_lock ();
                ev_ps_exporter_begin (EV_PS_EXPORTER (job->document),
-                                     job->temp_file);
+                                     job->temp_file, job->first_page,
+                                     job->last_page);
                ev_document_doc_mutex_unlock ();
                job->next_page = job->first_page;
                job->printing = TRUE;