I’m using aspose words print document to print documents. I have an issue with the way its printing documents on the printer. It doesn’t send the documents as soon as the print command is issued but it waits to spool and sends documents as if it is waiting for a print successful command from the printer. Is there anyway to send the documents without waiting from the printer using aspose or is it something to do with the way aspose prints documents. Here is my code
Dim MyWordDoc As Aspose.Words.Document = Nothing
Try
Dim license As Aspose.Words.License = New Aspose.Words.License()
license.SetLicense("Aspose.Total.lic")
Catch ex As Exception
End Try
Dim arrBulktoFiles As String() = Directory.GetFiles("C:\temp\tests", "*.doc")
For Each strDocName As String In arrBulktoFiles
MyWordDoc = New Aspose.Words.Document(strDocName)
Dim awPrintDoc As New Aspose.Words.Rendering.AsposeWordsPrintDocument(MyWordDoc)
awPrintDoc.PrinterSettings = ps
awPrintDoc.Print()
Next