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

Free Support Forum - aspose.com

Printing from ASP.Net Based Projects

Are there any limitations or when printing from any ASP.net / Web API / ASP.net MVC / etc. type web apps?

Is there any extra configuration?


Hi Matthew,

Thanks for contacting support.

There are no specific limitations when printing documents through web applications. Please try using our API and in case you encounter any issue, please feel free to contact.

Hi Matthew,

Thanks for your inquiry. At the moment the Printing Mechanism in Aspose.Pdf for .NET still uses System.Drawing.Printing namespace. Please check suggestions to use PdfViewer printing option in your web application. Please try it at your end to check if it works in your scenario or not.

Moreover, there is another option you can try is to convert your PDF to XPS using the following code:

Document doc = new Document("input.pdf");

doc.Save("output.xps", new XpsSaveOptions());

And you can print the XPS document as mentioned in the following thread,


In this solution, System.Drawing.Printing namespace is not used (XpsConverter uses System.Drawing namespace but it's not as bad as using System.Drawing.Printing in windows- services).

Please try the above mentioned solutions and check if they work fine as per your requirements.

Please feel free to contact us for any further assistance.

Best Regards,