At 03:19 PM 3/22/2005, Jeff Buhrt wrote:
PdfWriter's setViewerPreferences(PdfWriter.FitWindow|PdfWriter.CenterWindow) doesn't seem to change the settings seen in File->Print from inside the browser.

Of course not.

        Those are options for VIEWING - NOT for Printing.


Is there a way to control the print settings for the pdf if setViewerPreferences() doesn't do it?
[Basically some pdf's need to print with a known size, while others can be allowed to scale, etc.]

If your users have Acrobat/Reader 7, there is a new value that can be used in viewer preferences to enable that functionality in your PDF. however, iText doesn't yet support this.



Leonard

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



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to