Public bug reported:

I know it's dumb, but I see this issue occurring from time to time,
mostly because PDF readers remember print settings and people don't
notice when printing one-page documents that they have "Print only even
pages" option set.

How to reproduce: 
lp  -o page-set=even -o Duplex=None -o pdftops-renderer=pdftops  
./one-page-document.pdf

Basically, if you're printing a one-page document, and your pdftops
renderer is eiher pdftops or pdftocairo, printing will fail because
page-set=even means you need to print page #2, and you only have one
page.

D [10/Jul/2014:21:39:43 +0000] [Job 60] Started filter pdftops (PID 4782)
D [10/Jul/2014:21:39:43 +0000] [Job 60] Started filter pstops (PID 4783)
D [10/Jul/2014:21:39:43 +0000] [Job 60] Command Line Error: Wrong page range 
given: the first page (1) can not be after the last page (0).
D [10/Jul/2014:21:39:43 +0000] [Job 60] The print file is empty.
D [10/Jul/2014:21:39:43 +0000] [Job 60] PID 4782 (pdftops) stopped with status 
99!
D [10/Jul/2014:21:39:43 +0000] [Job 60] PID 4783 (pstops) stopped with status 1!

I'd suggest to ignore "page-set=even" option if the document has just
one page.

** Affects: cups-filters (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340435

Title:
  Setting page-set=even and duplex=none results in filter failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1340435/+subscriptions

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

Reply via email to