Page scaling default

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v3 and older)  /  Page scaling default

DynamicPDF Generator for .NET (v3 and older) Forum

 Feb 08 2006 7:05 PM
After the PDF file is displayed in the browser, the user has the option of printing it. When the user clicks the print icon, a dialog box comes up. One of the items is page scaling. There are three options in the dropdown -- None, Fit to paper, and Shrink large pages. I would like to set the default to None. Can anyone help me with this? Thanks.
 Feb 09 2006 3:09 PM
Posted by a ceTe Software moderator
Our product does not give you the ability to control any of the print dialog box features.  Beginning in version 4.0 however we will introduce a new View Preference option that will allow you to specify whether you would like the PDF to be scaled or not when printed (Document.ViewerPreferences.NoPrintScaling).  This setting can always be manually overridden by the user but it will appear as specified by default.

Version 4.0 is currently available as a beta on our website, http://www.DynamicPDF.com/Products/DynamicPDF/.  If you would like to test out this feature it can be downloaded from there.

Thanks,
ceTe Software Support Team
 May 13 2011 3:48 AM
Hello,

We have DynamicPDF Generator v2.6.0.  Is v4 the newest version? If we upgrade to v4, will we get a feature that let's us specify default page scaling?  Can we also set the scaling to "fit to printer margins" per default, or only turn it off?

If upgrading from v2.6.0 to v4, will we be able to keep our ASP Classic code as it is, or are there changes that must be made?
 May 13 2011 9:30 AM
Posted by a ceTe Software moderator
Hello,

The latest version is v6.0 and we have DynamicPDF Generator for COM/Activex v6.0 product that you can use with classic ASP. Due to the huge version difference there are several changes in the API and you would need to do some code changes when you switch from v2.6.0 to v6.0. Also v6.0 requires .NET framework 2.0 or above installed.

Regarding print scaling in v6.0, the only feature available is Document.ViewerPreferences.NoPrintScaling flag to turn the print scaling on or off. It is not possible to set the print scaling values like “Fit to Paper”, “Fit to Printer Margins” etc.

Thanks,
ceTe Software Support Team
 May 23 2011 5:36 PM
In addiiton to scale to page, ADOBE offers the "Choose Paper by source" option.   Does Dynamic PDF offer "Choose Paper by source"?
 May 24 2011 9:19 AM
Posted by a ceTe Software moderator
Hello,

The DynamicPDF Generator for NET API has PickTrayByPdfSize option and you can set it using ViewerPreference property of the Document class. It is not possible to set the Choose Paper by source option using our DynamicPDF Generator for .NET product.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 5:37 AM.