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 350491 - can't setup page size and margins
can't setup page size and margins
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 372436 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-08 20:34 UTC by Christian Persch
Modified: 2006-11-09 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2006-08-08 20:34:43 UTC
Using the new gtk printing code, there's no way to set page format and margins.
Comment 1 Serge Gavrilov 2006-10-22 09:14:55 UTC
I confirm this bug (evince 0.6.1, gentoo, gtk-print). Please fix it.
Comment 2 Carlos Garcia Campos 2006-10-26 12:43:02 UTC
with gnomeprint those options were available in the print dialog but, are you sure they actually worked? I think page format and margins are not supported in evince, since the ps-exporter doesn't allow to specify those settings. If you confirm it's possible to implement it in evince I will fix it.
Comment 3 Christian Persch 2006-10-26 13:55:13 UTC
I hadn't checked whether they actually worked using gnome-print :-)

Technically it should be possible to implement it in the ps exporter, by positioning/scaling the output page with some ps commands, but I have no idea how difficult that'll be.
Comment 4 Carlos Garcia Campos 2006-11-08 18:44:07 UTC
I've just fixed it in cvs head. Evince has now a page setup dialog. 

Thanks for the report.
Comment 5 Wouter Bolsterlee (uws) 2006-11-09 09:16:07 UTC
Carlos, but does it actually *work*?
Comment 6 Wouter Bolsterlee (uws) 2006-11-09 09:26:00 UTC
*** Bug 372436 has been marked as a duplicate of this bug. ***
Comment 7 Pierre Ossman 2006-11-09 10:05:51 UTC
Please reopen as it still doesn't work.

For your peace of mind, I've confirmed that it works in an older evince (0.5.1).

I've tried printing a letter document (8.5" x 11") to a A4 (8.27" x 11.69") printer. As an extra bonus, the printer says that the document it got is 10.87" x 7.76".
Comment 8 Carlos Garcia Campos 2006-11-09 11:42:03 UTC
I've just committed a new fix. I think it's really fixed right now. Could you confirm it works now, please? I was using the wrong paper size because margins were taken into consideration.
Comment 9 Pierre Ossman 2006-11-09 12:06:38 UTC
Now it works nicely. Good work! :)
Comment 10 Carlos Garcia Campos 2006-11-09 12:12:34 UTC
Thanks a lot for your help.