Evince print dialog doesn't respect page setup settings

Bug #67164 reported by nclm
152
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Medium
GTK+
Fix Released
High
evince (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Edgy
Won't Fix
Low
Sebastien Bacher
gtk+2.0 (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
Edgy
Won't Fix
Medium
Sebastien Bacher

Bug Description

The settings made in page setup like "print only even pages" or "2 pages per sheet" are not respected on printing.

I think this is a major issue...

Revision history for this message
nclm (nclm) wrote :

By the way I'm using edgy up to date

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Do you have the same issue with other applications too?

Changed in evince:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
nclm (nclm) wrote :

I've just tried gedit. At least 2 pages to 1 was no problem. I think evince is using some kind of new print dialog, not the gnome one, isn't it?

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

I confirm this for Edgy Release Candidate.
Pages per sheet, only print even or odd sheets and scale set in the GTKPrintDialog have no effect on the print output.
A bug report about this exist upstream, I have added a bug watch.

Changed in evince:
status: Needs Info → Confirmed
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

> I've just tried gedit. At least 2 pages to 1 was no problem. I think
> evince is using some kind of new print dialog, not the gnome one, isn't
> it?
Evince uses the new GtkPrintDialog while gedit and most other gnome programs still use libgnomeprint.

Revision history for this message
Sebastien Bacher (seb128) wrote :

does the example of gtk-demo (gtk2.0-examples package) works fine for you?

Revision history for this message
nclm (nclm) wrote :

No, it has the same issue...

"Range" on the first page of the printing dialog works but "2 pages per sheet" didn't worked either. That's what I've tested for now.

Changed in evince:
status: Unknown → Confirmed
Changed in gtk:
status: Unknown → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in evince:
status: Confirmed → Fix Committed
Changed in evince:
status: Confirmed → Fix Released
Changed in gtk:
status: Needs Info → Unconfirmed
Revision history for this message
Brendon Gleeson (brendon-gleesonprop) wrote :

Will we be getting a backport / patch for Edgy? I won't be able to handle this annoyance another 6 months?

Revision history for this message
Sebastien Bacher (seb128) wrote :

might be if the patch works fine on feisty

Revision history for this message
wilk (j-cubizolles) wrote :

Don't know if that's the same bug but evince 0.6.1, built today from cvs messes up the printing of landscape mode pdfs. Only a part of the page is printed and it's in portrait mode.

The same pdf prints just fine with evince 0.5.2 (evince-gtk in Ubuntu Edgy).

Revision history for this message
delle (delle) wrote :

will there be an update for evince 0.6.1 or do we have to move back to evince-gtk for half a year? or is there any possibilty of fixing this without moving back?
thank you very much
philipp

Revision history for this message
Michael Trunner (trunneml) wrote :

This patch would be very importent for me. Can someone explane how to install the patch in edgy?

Revision history for this message
Sebastien Bacher (seb128) wrote :

evince-gtk has the same source code than evince so likely that bug too

to apply a patch to a package: https://wiki.ubuntu.com/MOTU/School/PatchingSources has useful informations on the topic

Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream bug has a patch

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Undecided → High
status: Unconfirmed → In Progress
Revision history for this message
wilk (j-cubizolles) wrote :

I must be missing something obvious but I can't get the patch. The bugzilla page doesn't mention it but marks the bug as fixed.

Revision history for this message
Maximilian Federle (ppd) wrote :

Please backport that patch to edgy. That's the most annoying bug in edgy

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 67164] Re: Evince print dialog doesn't respect page setup settings

On ven, 2006-12-08 at 21:28 +0000, Maximilian Federle wrote:
> Please backport that patch to edgy. That's the most annoying bug in edgy

please be patient, the patch has not comment from upstream and has get
not user feedback, hurrying updates to a stable distribution is not the
best idea

Revision history for this message
Maximilian Federle (ppd) wrote :

> please be patient, the patch has not comment from upstream and has get
> not user feedback, hurrying updates to a stable distribution is not the
> best idea

I can confirm that this patch works for me on edgy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in gtk+2.0:
status: In Progress → Fix Committed
Changed in gtk:
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed to feisty with evince 0.7

Changed in evince:
importance: Undecided → Medium
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

That upload fixes the GTK bug:

 gtk+2.0 (2.10.6-0ubuntu4) feisty; urgency=low
 .
   * debian/patches/091_from_cvs_make_printing_settings_work.patch:
     - patch from CVS, "Properly pass multi-value options to cups"
       (Ubuntu: #67164)

If you run feisty and try the patched version feel free to comment about how it works for you, we will consider backporting the patch to edgy if it works fine

Changed in gtk+2.0:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Would be nice to backport for edgy

Changed in evince:
assignee: nobody → seb128
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

I'll look at doing a backport if the patches work fine on feisty first

Changed in gtk+2.0:
assignee: nobody → seb128
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Aaron Peromsik (aperomsik) wrote :

Just to repeat my comments from one of the duplicate bugs, using "prevu" from the Ubuntu Backports project it was almost straightforward to build the new Feisty package for Edgy, and the resulting package does indeed fix the problem with landscape pdfs.

Revision history for this message
Matt Good (launchpad-matt-good) wrote :

I just downloaded the source packages for the Feisty "2.10.6-0ubuntu4" version of GTK+ and compiled them on Edgy. I've relaunched Evince and printing 2 pages per sheet now works correctly.

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

I have backported GTK+ 2.10.6-0ubuntu4 with pbuilder on AMD64, and Evince now works properly, but Epiphany doesn't respect page settings. Should I file a seperate bug for Epiphany, or just create a new "affects" on this bug?

Revision history for this message
Sebastien Bacher (seb128) wrote :

feel free to open a bug for epiphany, opening upstream would be better though and testing on feisty first a good idea too

Revision history for this message
yemu (yemu) wrote :

this it really the most annoying bug. i'm using edgy, what can i do to use patched evince without the bug? printing 2 pages on one sheet is a very important feature. please help

Revision history for this message
yemu (yemu) wrote :

i've compiled and installed evince 0.7 from sources, but it still doesn't work!! i'm not able to pront two pages on one paper sheet.

Revision history for this message
yemu (yemu) wrote :

i managed to get it to work. the main culprit here is a gtk print dialog. after compiling with option to choose gnome print dialog i got dialog i had in evince in dapper and it is working again! tommorow i'll post debs of packages i created

Revision history for this message
Sebastien Bacher (seb128) wrote :

posting debs using gnomeprint is not the way to go, could you try to work with upstream to get the new GTK printing API fixed rather?

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

On Wed, 2007-01-03 at 23:16 +0000, yemu wrote:
> i managed to get it to work. the main culprit here is a gtk print
> dialog. after compiling with option to choose gnome print dialog i got
> dialog i had in evince in dapper and it is working again! tommorow i'll
> post debs of packages i created
>
What fixed it for me was compiling gtk+2.0 2.10.6-0ubuntu4 from Feisty
on Edgy with pbuilder. In other words, a backport of 2.10.6-0ubuntu4
should fix this issue.
--
Bruce Cowan <https://launchpad.net/people/bruce89>

Revision history for this message
wilk (j-cubizolles) wrote : Re: [Bug 67164] Re: Evince print dialog doesn't respect page setup settings

Le Thu, 04 Jan 2007 17:00:50 -0000,
Bruce Cowan <email address hidden> a écrit :

> On Wed, 2007-01-03 at 23:16 +0000, yemu wrote:
> > i managed to get it to work. the main culprit here is a gtk print
> > dialog. after compiling with option to choose gnome print dialog i
> > got dialog i had in evince in dapper and it is working again!
> > tommorow i'll post debs of packages i created
> >
> What fixed it for me was compiling gtk+2.0 2.10.6-0ubuntu4 from Feisty
> on Edgy with pbuilder. In other words, a backport of 2.10.6-0ubuntu4
> should fix this issue.

But that's a very big backport, a lot of packages depend on it. I'm not
too eager to try it.

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote : Re: [Bug 67164] Re: Evince print dialog doesn't respect page setup settings

On Thu, 2007-01-04 at 17:13 +0000, wilk wrote:
> But that's a very big backport, a lot of packages depend on it. I'm not
> too eager to try it.

I managed it, the only change to the gtk+2.0 is a single patch, so it
was easy. I didn't have to rebuild anything else, just because GTK+ is
depended on by lots of packages doesn't mean they all need rebuilt.
--
Bruce Cowan <https://launchpad.net/people/bruce89>

Revision history for this message
yemu (yemu) wrote :

you can download fixed packages from http://ubuntube.org/

Revision history for this message
wilk (j-cubizolles) wrote : Re: [Bug 67164] Re: Evince print dialog doesn't respect page setup settings

Le Thu, 04 Jan 2007 20:47:39 -0000,
yemu <email address hidden> a écrit :

> you can download fixed packages from http://ubuntube.org/
>

I tried it but it's still using the old libgnomeprint dialog, so what
is the advantage over the evince-gtk package ?

Julien

Revision history for this message
nclm (nclm) wrote :

As Sebastien Bacher said... this is not the way to go. We need to test gtk+2.0 patched.

Revision history for this message
yemu (yemu) wrote :

I almost compeletely agree this is not the solution, at least not right, but thanks to this i can print on two pages and this feature is crucial for me - without that i needed to boot into my old dapper installation :-(
wilk: the difference is that evince from ubuntube.org uses gtk print dialog. i've just installed these debs on my wife's edgy machine and it works ok, did you installed icon-naming-utils?

Revision history for this message
wilk (j-cubizolles) wrote :

Le Fri, 05 Jan 2007 15:54:50 -0000,
yemu <email address hidden> a écrit :

> wilk: the difference is that evince from
> ubuntube.org uses gtk print
> dialog. i've just installed these debs on my wife's edgy machine and
> it works ok, did you installed icon-naming-utils?

I just tried again : installing icon-naming-utils, gnome-icon-theme and
evince_0.7.0 from your site. It installs evince
in /usr/local/bin/evince but this version still uses the same print
dialog that evince-gtk uses, with no way to use 2ble-sided printing or
non-continuous page-ranges. Don't know what went wrong.

Revision history for this message
yemu (yemu) wrote :

sorry for the stupid question but, are you sure you are running the new version?
did you try to uninstall evince-0.6.1 first?

Revision history for this message
wilk (j-cubizolles) wrote :

I uninstalled evince-gtk, a version compiled in /opt/, checked that
there wasn't any evince in /usr/bin, /usr/local/bin or /opt/bin,
installed evince_0.7.0-1_i386.deb and I still don't get the right print
dialog. I completely confused, I guess I'm doing someting *really
dumb* !

Just to be sure, I attached a screen capture of the print dialog I get .

Revision history for this message
Roman (roman-koller) wrote :

I can't find the option to print on odd or even pages, either.
I installed both packages (evince and gnome-icon-theme) from yemu with sudo dpkg -i *.deb . The new printing dialog appears but definitely no option like this.

Revision history for this message
Roman (roman-koller) wrote :

I'm sorry, I forgot . I'm using Ubuntu Edgy, not yet Feisty.

Revision history for this message
hansalfredche (hansalfredche) wrote :

Is there any progress in the testing? A backport to Ubuntu Edgy would really be welcome.

Revision history for this message
Erik (echakr) wrote :

Printing 2 pages per side appears to work well now in Feisty, but setting a scale factor of 120% had no effect on the output.

Revision history for this message
MaxB (massimiliano-bellomo) wrote :

I can confirm: multiple page printing is working of Feisty beta !!

Revision history for this message
Brendon Gleeson (brendon-gleesonprop) wrote :

I can CONFIRM, printing multiple copies of pages in feisty final (I haven't tried any other options)

Revision history for this message
Simone Tolotti (simontol) wrote :

I've upgraded to Feisty final. It just don't work.

The problem is that Evince uses a different printing dialog from, for example, Gedit.

Revision history for this message
Simone Tolotti (simontol) wrote :
Revision history for this message
Francesco Potortì (pot) wrote : cannot print even pages in a range

The bug that I had reported about printing even pages in a range does
not exist in Feisty 7.04: please close Bug 107276.

Specifically, I can now do the following:
- I open a big pdf file using Evince
- I select a range of pages 1-4
- I select only even pages to print
and I get the expected result, that is, only pages 2 and 4 are printed.

In Ubuntu 6, pages 1, 2, 3 and 4 were printed, that is, the "even pages"
selection was ignored.

Bug 107276 is similar to (but not the same as) Bug 67164, so maybe the
latter is corrected too.

Revision history for this message
Hew (hew) wrote :

Ubuntu Edgy Eft is no longer supported, so a SRU will not be issued for this release. Marking Edgy as Won't Fix.

Changed in evince:
status: Confirmed → Won't Fix
Changed in gtk+2.0:
status: Confirmed → Won't Fix
Revision history for this message
Sune Woeller (sune-woeller) wrote :

Setting page ordering on "Page setup" tab is not respected.

For instance, i have a pdf with slides, pages are wider than they are long. So I choose "right to left, top to bottom" to get them in correct order. Not respected, get the same result as "left to tight, top to bottom". The bug is also occuring just when showing "Print preview", not only when printing physically.

Ubuntu 8.10, Document Viewer 2.24.1

Amazing simple stuff like this is untested. Sorry, but I can help bitching, this is just my linux experience in a nutshell. Missing windows for desktop stuff like this. (Arh, not really...)

Revision history for this message
Menachem Shapiro (menachem) wrote :

I have the same issue as Sune. I am also running Ubuntu 8.10

I am Using Document Viewer 2.24.1 which, according to the about page, is using poppler 0.8.7 (cairo).

I am able to print 2 pages per side, but I am not able to change the page ordering. I change the page ordering so that it is Right to Left, but it still prints (and previews) Left to Right.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

this bug has been fixed already, yours is a similar, but different issue.
please report a new bug against the evince package. thank you

Revision history for this message
Menachem Shapiro (menachem) wrote :
Revision history for this message
Victor Engmark (victor-engmark) wrote :

Bug still present in Document Viewer 2.28.1 (Using poppler 0.12.0 (cairo)) on Ubuntu 9.10. I have set up the default printer to use two-sided (long edge) printing by default, but in the print dialog two-sided is "Not available" and when printing I get two sheets, not one as expected. Attaching printers.conf and a tested PDF file.

Revision history for this message
Victor Engmark (victor-engmark) wrote :
Changed in gtk:
importance: Unknown → High
Changed in evince:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.