Initially we were trying to convert word document to PDF and then print, but the PDF.PrintDocumentWithSettings method is taking 30-40 seconds to print to a network printer. After which we were trying to print from Aspose.word.print method, which was not available as per your first response in this thread. Now, we are tying to take the document created in aspose but use a Microsoft libraries to print the document to network printer but and then we were not able to convert the word document over the fly.
As per your above response we needed to save the document first and then process it.
In simple terms, what we are trying to achieve is:
- Create an aspose word document- works as expected.
- Convert aspose word to PDF. - Works as expected.
- Send the PDF document to network printer using print server - takes 30-40 seconds as Aspose is always trying to download the printer drivers. So, we are trying different things to get around this issue.
We are tying to see if we can use the document or PDF created in Aspose and then sent it to printer using Microsoft native print method.
Alternatively we were also trying to see if it be any fast using aspose.image.print method, but the quality is bad, so we didn’t go that route.