Re: Print Output Scaling.



On 04/28/2010 11:10 AM, Carlos Garcia Campos wrote:
If I have a PDF with 0.5" margins, when I print it from Preview.app and
from Adobe Reader, I get proper margins.

When I print it from Evince, the margins get larger, the content gets
scaled.

I'm at a loss to explain it, but I know it happens on all of my
computers and printers between work and home.

Any ideas? Perhaps this is a Poppler question.

What evince version?

This is not a Poppler issue. It has been an evince issue for a long time.

If you enable EV_SCALE_SHRINK_TO_PRINTABLE_AREA or EV_SCALE_FIT_TO_PRINTABLE_AREA, then ev_print_operation_print_draw_page calls _print_context_get_hard_margins, which provides the hardware margins of the printer.

The scaling is then calculated so the entire image fits inside the printer margins.

Sometimes you want this. Sometimes you don't - if your document is formatted at 8.5"x11", sometimes you want it to print at exactly the right scale (100%) onto 8.5"x11" paper, with the edges trimmed off (where printing is impossible).

evince should offer a choice. It does not, currently. Which is sad :-(

- Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]