I have fixed this by fixing the behavior of manual duplex. Usually, you
print the odd pages, then put them back into the input tray and print
the even pages. If the document has an odd number of pages, there is one
odd page more than even pages, meaning that when you printed the even
pages before, the last odd page stayed in the input tray. Now I let the
pdftopdf filter add a blank page when printing the even pages of a
document with an odd number of pages, this way pulling the last odd page
out of the input tray. This also has the side effect that the even page
set is never empty also with a document of only one page, preventing
this error. And automated processes (like GUIs) applying manual duplex,
work also with one-page documents.
The change is in cups-filters 1.0.55 which I have released today. It
will soon appear in Utopic.
** Changed in: cups-filters (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups-filters in Ubuntu.
https://bugs.launchpad.net/bugs/1340435
Title:
Setting page-set=even and duplex=none results in filter failure
Status in “cups-filters” package in Ubuntu:
In Progress
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1340435/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp