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

Free Support Forum - aspose.com

XpsPrint API support

When printing from a Windows service, you recommend converting a Word document to XPS and then printing through the XPSPrint API in Windows.


Microsoft, however, writes “The XPS Print API is not supported and may be altered or unavailable in the future. Client applications should use the Print Document Package API instead”.

Should I use your recommended way of printing from a service? If not, do you support the Print Document Package API?

Hi Teodora,


Thanks for your request. I have logged an issue (WORDSNET-10256) in our issue tracking system for our development team to investigate if Print Document Package API is supported by Aspose.Words. We will further look into the details of this problem and keep you updated via this thread on the status of this issue. We apologize for any inconvenience.

Best regards,

Hi Teodora,


Thanks for being patient. XPS Print API is still working in Windows 8.1 so please continue using it for now. It should work for you for long time. However, If Microsoft removes XPS Print API completely, we will have to change the code example to send XPS directly to the spooler. We basically then need to write a new module that will use Windows XPS Document API and Document Print API together to create an XPS document and print it. We will keep you informed of any developments on this new module and let you know once it is available. We apologize for any inconvenience.

Best regards,