Re: [iText-questions] PDF Page Scaling

2011-09-22 Thread Greg32901
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:

Re: [iText-questions] Pdf page scaling viewer preference does not work

2010-08-21 Thread 1T3XT info
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

[iText-questions] Pdf page scaling viewer preference does not work

2010-08-20 Thread Lana Slisenko
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

Re: [iText-questions] PDF Page Scaling

2010-08-19 Thread lana.slisenko
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

[iText-questions] PDF Page Scaling

2005-08-22 Thread Kerns, Kelly E - San Mateo, CA - Contractor
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

Re: [iText-questions] PDF Page Scaling

2005-08-22 Thread Leonard Rosenthol
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

RE: [iText-questions] PDF Page Scaling

2005-08-22 Thread Kerns, Kelly E - San Mateo, CA - Contractor
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

RE: [iText-questions] PDF Page Scaling

2005-08-22 Thread Kerns, Kelly E - San Mateo, CA - Contractor
, 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