I’ve now upgraded to Acrobat Reader 7.0.3, and I still have the same problem. Bruno’s document does, however, always bring up the Print dialog with Page Scaling set to ‘None.’

 

I simply passed 2097152 (1 << 21) to the setViewerPreferences method when calling it from my code. I’m still using the iText 1.3.2 jar I downloaded last week. I sorted the CVS changes by date, and it appeared the only thing that changed was the value of the constant PrintScalingNone.

 

Are there more changes I have to make to get the Scaling option to work?

 

When I change the value passed in my code to 1048576 (1 << 20), it behaves identically to when I pass it PdfWriter.PrintScalingNone (with the errant code), so I know my code is taking effect.

 

Do you know what else I might be missing?

 

Thanks,

Kelly

 

-----Original Message-----
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 10:26 AM
To: Kerns, Kelly E - San Mateo, CA - Contractor; [email protected]
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 the purpose of the new ViewerPreference of PrintScalingNone?


        You do know that it only works with Acrobat/Reader 7, right?


Leonard


---------------------------------------------------------------------------
Leonard Rosenthol                            < mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      < http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                             215-938-0880 (fax)

Reply via email to