We are using Aspose.Words component for printing Word and WordML documents from server side code. Recently, as [1] suggests, we contacted Microsoft for our issues with server side printing (not particularly related to Aspose) and they said that System.Drawing and System.Printing namespaces are not supported in server side.
We are planning on using XpsPrintApi as it seems the only viable way to print from server side and we'd like to make sure if we can continue using your components for XPS conversion.
Our concerns are
1.Does
the conversion to XPS document involve XPS printer driver (hence System.Drawing.Printing usage)?
2.Is
System.Drawing namespace used for any document creation (mainly Word and Pdf) ?
3.Does
the PDF printing (via Aspose.Pdf) also use System.Drawing.Printing namespace?
You can convert your documents to PDF and XPS using Aspose.Words in server environment. Regarding printing using XpsPrintApi, you can find a very good example here: Aspose.Total for .NET|Documentation
Regarding printing using Aspose.Pdf, my colleagues from Aspose.Pdf team will answer you shortly.
Thanks for contacting support. I am a representative from Aspose.Pdf team. I am afraid the current implementation of Aspose.Pdf for .NET includes dependencies over System.Drawing and currently we are not entirely certain that either we would be able to exclude them in near future or not. The System.Drawing in XPS conversion is used to represent images, colors, brushes etc. However for the sake of investigation on possibilities to remove System.Drawing dependencies, I have logged a task in our issue tracking system as PDFNEWNET-32097. We will further look into the details of this activity and will keep you updated on the status of correction. We apologize for this inconvenience.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.