After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 542538 - Evince prints pages in a strange order
Evince prints pages in a strange order
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: printing
2.22.x
Other All
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-11 14:32 UTC by Tim Fuchs
Modified: 2015-04-16 02:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
example PDF showing page ordering problem (176.18 KB, application/pdf)
2008-10-14 01:18 UTC, John Pye
Details

Description Tim Fuchs 2008-07-11 14:32:24 UTC
Please describe the problem:
I reported this bug on Ubuntu's launchpad some months ago but I got no response so I repost it here:

I have to print out presentation slides for university and because they don't contain much text and the fonts are big I want to print out several pages on one sheet of paper.

Steps to reproduce:
1. I open the PDF in evince
2. I go to Print, select print to file, (I print out the stuff at my university and I can only upload .ps files to them)
3. I select number of pages: 4 and press print.


Actual results:
The resulting .ps file has a strange layout, like this:

(I know that is some bad ASCII art, but I think you get the idea.)

-------------
|  2  |  4  |
-------------
|  1  |  3  |
-------------

Expected results:
What I obviously want is something like this:

-------------
|  1  |  2  |
-------------
|  3  |  4  |
-------------

Does this happen every time?
Yes

Other information:
The problem is that you can't select the orientation of the paper. Evince assumes that the sheet of paper is vertical, while it's actually horizontal.
Comment 1 Filippo Bistaffa 2008-10-09 19:01:04 UTC
Confirmed in Intrepid Ibex
Comment 2 John Pye 2008-10-14 01:18:33 UTC
Created attachment 120544 [details]
example PDF showing page ordering problem

Please could this bug be fixed! It would be a big help when printing out lecture slides from PDFs...

I have attached a simple example file generated by OpenOffice Impress.

To print this, I set page setup to Landscape, then printed in 4-up mode, with double-sided set to short edge.

Note: there needs to be an option allowing the user to select across-then-down or down-then-across, too.

Cheers
JP
Comment 3 Carlos Garcia Campos 2008-10-14 08:10:51 UTC
(In reply to comment #2)
> Created an attachment (id=120544) [edit]
> example PDF showing page ordering problem
> 
> Please could this bug be fixed! It would be a big help when printing out
> lecture slides from PDFs...

Yes, I have in mind to rework the printing stuff (again) to fix this and other printing issues. 

Comment 4 Pacho Ramos 2009-01-23 11:31:18 UTC
Seems that kpdf is also affected by this :-/
Comment 5 Grant Kornelson 2009-04-26 17:32:01 UTC
Has there been any progress on this? This bug is still present in Gnome 2.26 on Ubuntu Jaunty. This seems like it would be a pretty trivial fix, and this bug is extremely annoying. I currently have no way to print lecture slides properly without using Windows.
Comment 6 Dirk W. 2009-04-28 16:39:25 UTC
In 8.04 and 8.10 I did this:

lpr -P PDF -o landscape=true -o number-up=4 print-me.pdf

But in 9.04 cups-pdf does not work.
Comment 7 John Pye 2009-07-14 01:20:48 UTC
Ping! Any progress on this? I imagine it's probably a fairly minor bug to fix, isn't it? I'm off to install Adobe... :-(
Comment 8 Carlos Garcia Campos 2009-07-14 07:24:53 UTC
(In reply to comment #7)
> Ping! Any progress on this?

yes. An implementation of EvPrintOperation based on  GTK+ print operation has been added, you need gtk+ >= 2.17.1, though. This should fix the problem. See bug #557112. On the other hand, several patches has been applied to the evince implementation, see bugs #583429 and #583388. 

> I imagine it's probably a fairly minor bug to fix,
> isn't it?

no, unfortunately it's not so easy to fix. 

> I'm off to install Adobe... :-(
> 

If the problem is still present for you with current evince, let us know please. 

Thanks.
Comment 9 Pacho Ramos 2009-07-14 15:43:58 UTC
Thanks a lot for the information :-D (and your great work of course)
Comment 10 dominik.infuehr 2010-01-18 12:26:47 UTC
This bug still exists for me in Ubuntu Karmic. Printing of several pages on one sheet of paper seems weird for me.

1. Page Setup --> Choose portrait mode
2. Go to File --> Print
3. Choose pages per side --> 4 (icon shows portrait mode)
4. Print
5. Output is in landscape mode

Now do the same with 6 pages per side (icon shows landscape mode), the output will be in portrait mode.

A option to border every slide would be great. Page Preview does not work for me as well. Page preview is not really page previous because it will simply show every page (really every page although i wanted to print only the current page) on a single sheet of paper.
Comment 11 Felix Z. 2010-01-22 17:35:24 UTC
I can also confirm this for 2.29.5 using poppler 0.12.2 (cairo) on Ubuntu Lucid Lynx (development snapshot). Is there a chance to have this fixed in Evince 2.30?
Comment 12 José Aliste 2015-04-16 02:17:50 UTC
The order has been Ok for a longtime by now. Closing as obsolete. Comment 10 is still reproducible, but I will file another bug for that.