Printing pdf file without setup


#1

I need to print a pdf file without a setup dialog, but I still need to set some of the settings.

What I was hoping for was a method like this (or a property on the pdfviewer)

PdfViewer.PrintDocument(System.Drawing.Printing.PrintDocument printDocument) //C#

PdfViewer.PrintDocument(printDocument as System.Drawing.Printing.PrintDocument) 'VB.NET

so I can make a System.Drawing.Printing.PrintDocument, and set the

printDocument.PrinterSettings = myPrinterSettings

and the

printDocument.DefaultPageSettings = myPageSettings

so I can change the printer and the PaperSize (A4 / Letter) and the specific tray without using a printDialog


#2

Dear MrBonus:

														<p>Thanks for considering Aspose.</p><p>In current version, you could not setup printer like that.</p><p>We will provide this function in next release.<br></p><br>

#3

Dear MrBonus:
The latest version of Aspose.Pdf.Kit 2.1.0 has been released and your requirements have been implemented. Please refer to http://www.aspose.com/Community/blogs/tommy.wang/archive/2006/06/13/50318.aspx

Best regards.