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 388152 - Fit to Page option
Fit to Page option
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: printing
0.8.x
Other All
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-21 03:47 UTC by Aaron Peromsik
Modified: 2010-04-28 17:06 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Aaron Peromsik 2006-12-21 03:47:01 UTC
Adobe Reader has "expand to page" and "shrink to page" options in its print dialog. It would be useful to have these in evince. 

evince rocks, by the way.
Comment 1 Philip Ganchev 2007-02-22 00:13:16 UTC
What do these options do?
Comment 2 Michael Chudobiak 2007-08-27 17:59:04 UTC
They expand/shrink the page so that the entire document page fits just inside the printable page area.

For instance, if you have a US-letter-sized page with text going right to the edge, you have to shrink it slightly to fit inside the printer margins (even if you are using letter-sized paper), if you want to see all of the text. Otherwise, the text in the margins will be cut off.

Another example would be printing an A4 document onto US-letter paper. It has to be shrunk to fit.

Currently, evince has a scale option in the print dialog, but it doesn't work as expected. For instance, consider the letter-to-letter example with text in the margin areas. If you reduce the scale to 90%, it does not print the margin text. It just reduces the other text. That is, it always print the same area of the viewed page, even though reducing the scale could let it print more area.

Tested on 0.8.2.

I would love to have this feature - I sorely miss it.

- Mike


Comment 3 Philip Ganchev 2007-08-27 22:24:17 UTC
Then the "scale" option should be fixed, and we do not need "expand to page" and "shrink to page"?  

This would work for printing on a differently sized paper than the document was created for.  As for printing on the correct size of paper, why can't text be printed in the margins exactly as in the document? If this is possible, I think this is the right behavior.
Comment 4 Aaron Peromsik 2007-08-27 23:12:40 UTC
The problem with printing on the correct size of paper is that each printer has its own margins. If you are lucky, the document has bigger margins than the printer does, otherwise you have to scale.

A single "fit to page" check box would probably suffice. When picked it could automatically put the right number in the "scale" box and grey it out. Just scaling isn't enough though: we have to reset the top-left printed object to be at the top-left of the printer's usable area, and similar for bottom-right. In other words, rather than just scaling page sizes, we need to map the printable area of the document onto the printable area of the printer.

(Sorry I didn't see the question in February. I didn't get an email from bugzilla at that time, though I seem to be getting them now.)

Comment 5 Michael Chudobiak 2007-08-28 00:45:50 UTC
(In reply to comment #3)
> Then the "scale" option should be fixed, and we do not need "expand to page"
> and "shrink to page"?

The scale option should be fixed, yes. However, the user shouldn't have to guess what scale will make the document fit onto the paper. The computer should compute it!

 
> This would work for printing on a differently sized paper than the document was
> created for.  As for printing on the correct size of paper, why can't text be
> printed in the margins exactly as in the document? If this is possible, I think
> this is the right behavior.

The typical printer can not cover the entire sheet (although some can). For instance, on an A4 or US-letter size paper, a typical laser printer might not be able to print within 3/8" of the edge. Rather than worrying about that, it would be nice if the user could have the program automatically shrink the image slightly so that everything in the document is printed.

It should be an option, like in Adobe Acrobat. (Sometimes you really do want 1:1 scale, and no shrinkage - hence the option.)

- Mike
Comment 6 Jan 2007-09-20 16:01:23 UTC
I'd also like this option. It's also useful if you've a latex-beamer generated presentation (100 x 80 mm) and want to print it on a4. And it is _very_ intuitive compared to scale, which does not even has a preview.

Thanks,

Jan
Comment 7 Tim Coleman 2007-10-31 01:50:10 UTC
I just found this issue and I would like to put my vote in for it as well.  Right now, my wife has been trying to print a PDF that she received, and it's impossible because there is no margin in the PDF but our printer will not print right to the edge.
Comment 8 Martin Jürgens 2008-09-01 19:45:01 UTC
Well. Same problem. Renders Evince useless to me, even though I like it.
Comment 9 Dmitriy Tantsur 2010-03-04 23:34:32 UTC
I just encountered this with TIFF printing. Evince prints a small image in a corner on every page and I want it to fit into the whole page. Please!
Comment 10 Michael Chudobiak 2010-04-28 17:06:55 UTC
This seems to work as expected in 2.30.0. There is a now "Page Handling" tab in the print dialog, where Page Scaling can be set to "None", "Shrink to Printable Area", or "Fit to Printable Area".

Closing bug. Please re-open if 2.30.0 doesn't work for you.

- Mike