Bug 327727 - Okular prints only a few pages of a document
Summary: Okular prints only a few pages of a document
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-17 16:24 UTC by PDA
Modified: 2015-01-11 11:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PDA 2013-11-17 16:24:51 UTC
Printing http://www.civati.it/wp-content/uploads/2013/10/Mozione-Civati-Dalla-delusione-alla-speranza.pdf  with settings: 
- odd pages;
- reverse page order

will result the printer will print only from page 7 to 1, how is it possible in a 70 pages document?

Reproducible: Always

Steps to Reproduce:
.
Actual Results:  
.

Expected Results:  
.
Comment 1 PDA 2013-11-17 16:25:53 UTC
Downstream bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1031396
Comment 2 Albert Astals Cid 2013-11-18 22:08:25 UTC
What does print preview show?

What happens if you run pdftops on the file and then send the resulting ps to your printer via lpr?
Comment 3 Christoph Feck 2013-11-30 01:23:43 UTC
If you can provide the information requested in comment #2, please add it.
Comment 4 PDA 2013-11-30 18:17:25 UTC
(In reply to comment #2)
> What does print preview show?

8th page is empty in print preview


> What happens if you run pdftops on the file and then send the resulting ps
> to your printer via lpr?
Instead of printing 70 pages on a single side, can I do a trick like this one?
https://bugzilla.redhat.com/show_bug.cgi?id=1031203#c5
( cupsctl PreserveJobFiles=Yes )
https://bugzilla.redhat.com/show_bug.cgi?id=1031203#c5
cupsctl PreserveJobFiles=Yes
Comment 5 Albert Astals Cid 2013-11-30 19:20:21 UTC
This is an upstream bug in poppler, it is generating wrong .ps when converting this file to postscript.

You can see that by doing
pdftops myfile.pdf
gs myfile.ps
press enter a few times to change page.
You'll end up with something like
Error: /rangecheck in --xyshow--
Operand stack:
   309.24   301.1   (\003R\003R)   --nostringval--   (\003R\003R)   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1916   1   3   %oparray_pop   1915   1   3   %oparray_pop   1899   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1171/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   --dict:70/75(L)--   --dict:19/25(L)--   --dict:11/15(L)--

Please open a bug for poppler in https://bugs.freedesktop.org
Comment 6 PDA 2015-01-11 11:29:42 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=72184
Nobody still paid attention to it.