Is there a PrintScaling option in ViewerPreference in Aspose? We want to set the PrintScaling to none by default so when our PDF files are printed the ‘fit to page’ option is unchecked. (We need our document to print actual size, and we don’t want the user to have to remember to set the print scaling to none every time). Some other PDF libraries I have used in the past have this option, and they work great.
Thanks for your inquiry. I am afraid currently Aspose.Pdf does not PrintScaling option in ViewerPreferences. However we have logged an enhancement ticket PDFNEWNET-37378 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.
In addition to the above reply, please note that you can control print scaling while printing through Aspose.Pdf using the PrintViewer class. You can set the AutoResize and AutoRotate properties to false to keep the original scaling of the PDF document during printing. This will help you with print scaling if you are using Aspose.Pdf for printing.
However, we will keep you updated about the progress of the originally logged issue via this forum thread.
// Create PdfViewer object
PdfViewer viewer = new PdfViewer();
// Open input PDF file
viewer.BindPdf("input.pdf");
viewer.AutoResize = false;
viewer.AutoRotate = false;
// viewer.ScaleFactor = 0.5f; // decrease print size to 50%
viewer.PrintPageDialog = false;
Thanks for your feedback. I am afraid the logged feature is still pending for analysis as product team is busy in other issues/features in the queue. However we have recorded your interest in the feature and will notify you as soon as we made some significant progress towards issue resolution.