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
printDocument.DefaultPageSettings = myPageSettings
so I can change the printer and the PaperSize (A4 / Letter) and the specific tray without using a printDialog