Hi
We are currently experiencing issues where a document (can be a blank document) prints to the wrong tray. This is only happening when we print to tray 4 of a printer but happens on several printers.
Example:
Printing a batch of documents where you send a document to each tray of a 4 tray printer (tray 1 is a manual feed). All documents sent to tray 1, 2 and 3 are printed as expected. The document that is sent to tray 4 is printed but comes from tray 1.
Version: 2013.08.31 / 13.8.0.0
Code:
-----------------------------------------------------------------------------------
Dim awPrintDoc As New AsposeWordsPrintDocument(awDoc)
awPrintDoc.PrinterSettings.PrinterName = strPrintername
Dim s As PaperSource = _wordUtilHelper.GetInputTray(awPrintDoc, printerTray)
awPrintDoc.PrinterSettings.DefaultPageSettings.PaperSource = s
awPrintDoc.PrinterSettings.Duplex = Duplex.Simplex
' force the page tray
For Each sec As Section In awDoc.Sections
sec.PageSetup.FirstPageTray = s.RawKind
sec.PageSetup.OtherPagesTray = s.RawKind
Next
' setting up simple of duplex printing
If awPrintDoc.PrinterSettings.CanDuplex Then
SetDuplexPrinting(awPrintDoc, documentType, objCertificate)
End If
awPrintDoc.Print()