« Return to Thread: avoid oversized pages

Re: avoid oversized pages

by Bruno Lowagie (iText) :: Rate this Message:

Reply to Author | View in Thread

maarten wrote:

> I suppose the ViewerPreferences don't really change the content of the
> document ?

No, that's the idea of Viewer Preferences.

> It should just switch on or off the option to scale the document, right ?

Yep, that's what the PrintScaling option is about.

> a) this is not what I'm looking for:

I get a lot of mail. I don't always read them as thoroughly as I should.

>   I would like to create an A4 document that does NOT NEED scaling,
>  in other words:  I would like that checking the option in the print
> dialog on or off doesn't make a difference.
>
> Is it really not possible to create a document that does not need
> scaling (even when nothing is close to the page border) ?

I don't think I understand.
If a page is A4 and your printer prints on A4 paper,
the printer isn't supposed to do any scaling,
Of course you are dependent on your printer driver.
That driver can be the cause of your problem.

Paulo, Leonard, do you know if setting a cropbox,
trimbox, bleedbox,... could solve this kind of problem?

> b) calling writer.setViewerPreferences(PdfWriter.printScalingNone)  
> doesn't seem to make any difference
> except that Acrobat Reader shows "Navigation Tabs" when I open the
> document.

Are you sure? I'll test it this afternoon.

> PS:  gefeliciteerd met uw prachtige open-source library !

Dank u zeer.
Bruno


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

 « Return to Thread: avoid oversized pages