I had a similar problem. When I used:
writer.setViewerPreferences(PdfWriter.PrintScalingNone);
The print scaling was not being set properly. I traced through the itext
code and I think there is a bug there. To fix it, I explicitly set the
value:
On 20/08/2010 0:03, Lana Slisenko wrote:
Please help. I can not get the following line of code to work:
writer.setViewerPreferences(PdfWriter.PrintScalingNone);
Read the book, try:
writer.addViewerPreference(PdfName.PRINTSCALING, PdfName.NONE);
When the pdf file is generated and I select
Please help. I can not get the following line of code to work:
writer.setViewerPreferences(PdfWriter.PrintScalingNone);
When the pdf file is generated and I select File/Print to bring up Print
Dialog, Page Scaling is still set to Shrink to Printable Area
instead of None.
all other viewer
Were you able to resolve this issue? When I try to do the following:
writer.setViewerPreferences(PdfWriter.PrintScalingNone);
I get 500 error PdfWriter.PrintScalingNone cannot be resolved.
Did they get rid of this preference and forgot to update the documentation?
Is there a replacement for
Title: PDF Page Scaling
Hi,
I need to automatically set the Page Scaling on the Print dialog to None for a document Im creating (i.e., address labels). I downloaded the latest version of iText (1.3.2) last week since I saw what I thought was the solution.
I know there was a bug in the
At 12:36 PM 8/22/2005, Kerns, Kelly E - San Mateo, CA - Contractor
wrote:
Am
I misunderstanding the purpose of
the new ViewerPreference of PrintScalingNone?
You do
know that it only works with Acrobat/Reader 7, right?
Leonard
PROTECTED]
Sent: Monday, August 22, 2005
10:26 AM
To: Kerns, Kelly E - San Mateo, CA
- Contractor; itext-questions@lists.sourceforge.net
Cc: Chua, Venus M - San Mateo, CA
Subject: Re: [iText-questions] PDF
Page Scaling
At 12:36 PM 8/22/2005, Kerns, Kelly E - San Mateo, CA
- Contractor wrote
, August 22, 2005
10:26 AM
To: Kerns, Kelly E - San Mateo, CA
- Contractor; itext-questions@lists.sourceforge.net
Cc: Chua, Venus M - San Mateo, CA
Subject: Re: [iText-questions] PDF
Page Scaling
At 12:36 PM 8/22/2005, Kerns, Kelly E - San Mateo, CA
- Contractor wrote:
Am I misunderstanding