← Back to team overview

desktop-packages team mailing list archive

[Bug 845246] [NEW] When printing in reverse, swaps even/odd if # pages is even

 

You have been subscribed to a public bug:

The print engine prints the wrong pages if printing an even/odd subset
in reverse order, if the total number of pages is even.  I suspect that
the "reverse" is causing it to first reorder the pages and then
internally number them, which has the effect of swapping the even/odd
parity if the total number is even.

Steps to repro:
Load into evince a document with an even number of pages (e.g. attached)
Ctrl-P to print
Click the "Reverse" checkbox
Click "Page setup" tab
>From "Only print" pulldown, choose "Even sheets"
Click Print
Printer will print pages 3 and 1 in that order.

Choosing "Odd sheets" will yield pages 4 and 2.  Following the same
steps with a similar document of three pages will (correctly) get page 2
for the "Even sheets" and pages 3 and 1 for "Odd sheets".

This is a problem because the natural way to print double-sided with a
non-duplex printer is to print the evens in reverse order, then refeed
the stack and print the odds in the correct order.  (So page 2 is the
last page printed in the first batch, and its back, page 1, is the first
page in the second batch.)  Following that algorithm with this bug in
place gives you all the even sides twice.

I am on Ubuntu 11.04 Natty.

evince:
  Installed: 2.32.0-0ubuntu12.2
  Candidate: 2.32.0-0ubuntu12.2
  Version table:
 *** 2.32.0-0ubuntu12.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.32.0-0ubuntu12 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

I believe this is the relevant package for gnome-print:
libgnomeprint2.2-0:
  Installed: (none)
  Candidate: 2.18.8-0ubuntu1
  Version table:
     2.18.8-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: even evince odd print reverse
-- 
When printing in reverse, swaps even/odd if # pages is even
https://bugs.launchpad.net/bugs/845246
You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu.