← Back to team overview

desktop-packages team mailing list archive

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

 

This is a problem of evince. Usually, applications (or the application's
print dialogs) do not do the page management (reverse order, N-up,
selected pages, ...) by themselves but instead, they send IPP attributes
to CUPS along with the job and then CUPS does the page management (in
the pdftopdf or the pstops filter). evince does the page management by
itself and therefore this bug is a problem of evince. You can easily see
it by doing the described steps to reproduce this bug, but instead of
clicking on "Print", get a preview by clicking on "Print Preview" and in
the preview the bug appears, too.

Moving to evince ...


Moving to evince.

** Package changed: gnome-print (Ubuntu) => evince (Ubuntu)

** Changed in: evince (Ubuntu)
       Status: New => Confirmed

** Changed in: evince (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/845246

Title:
  When printing in reverse, swaps even/odd if # pages is even

Status in “evince” package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/845246/+subscriptions