We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Performance on print

Hi

The first print with Aspose takes a long time. Apparently, especially in the use of network printers. So take the print method partially several seconds. Even for simple documents. Each additional print goes much faster. If a new process started, the game starts all over again.

Thanks
Stephan

You can see the same behavior with print Review …

Hi Stephan,


Thanks for your inquiry. Yes, this is an expected behavior i.e. the first time rendering/printing a Word document takes more time than any subsequent conversions/printings. Aspose.Words needs to pre-cache fonts and other resources for rendering/printing. This only happens for the first time run. If you want to do this pre-caching earlier then you can simply call doc.UpdatePageLayout() on an empty document before rendering/printing. I hope, this helps.

Best regards,