Is there any way to print from DocumentRenderer class or some other way perhaps without displaying that dialog that looks like the attached image.
Thanks
Hi
Thanks for your request. I think that this message box is a function of the printer driver, that’s why it can’t be disabled.
Best regards.
How does Word get away without using this dialog?
In any case even without the dialog that pops up the format of what is printed is not correct. Will your PDF tool do a word to pdf conversion? If so, will it have the same popup status dialog problem. This is a great tool I just did not expect a basic function like printing to be an issue. Are there any other solutions other companies have done to work around this? Our clients have been known to print off over 5000 word merge documents in one sitting. The format has to be correct and they cannot have a status dialog popup with every document that is printed.
Hello Chad.
DocumentRenderer class is a member of Aspose.Words.Viewer namespace. Printing functionality is now in beta state and we provide only limited support on it. Some information is given in our FAQ:
We are open for discussion but don’t guarantee any fixes if your printed documents look differently from the originals. Message box you are complaining on will be taken in consideration but also without any promise.
Currently conversion from DOC to PDF can be made with help of the two libraries, Aspose.Words and Aspose.Pdf together. This is made via the intermediate Aspose.Pdf XML format. Please see the following page on how to do so:
https://reference.aspose.com/words/net/
Aspose.Pdf doesn’t perform printing itself. You can just convert PDF documents to raster formats using Aspose.Pdf.Kit. This feature may be unofficially referred somewhere as “printing” and this brings inconvenience. Since Aspose.Pdf and Aspose.Pdf.Kit are different products you should better ask questions regarding them in their forums. (They are developed and supported by other people.)
Aspose.Pdf and Aspose.Pdf.Kit forum:
https://forum.aspose.com/c/pdf/10
You can download the latest versions of Aspose components from these links:
https://releases.aspose.com
Have a nice day,