Hi,
Hi Mike,
Yes, Aspose.Pdf.Kit for .NET uses System.Drawing.Printing namespace to print the PDF files. However, as far as the issues while printing the PDF files from Windows Service are concerned, we need to test it at our end. You’ll be updated with the results accordingly.
We’re sorry for the inconvenience.
Regards,
Thank you for the reply, I look forward to your findings.
Hi Mike,
I would like to share with you that Aspose.Pdf.Kit is the only component offered by Aspose which can print the PDF files. We’ll test your scenario at our end and you’ll be updated accordingly.
If you find any other questions, please do let us know.
Regards,
Hi Mike,
I have tested Aspose.Pdf.Kit for .NET with Windows Services and tried to print the PDF file using the Service, but I couldn’t notice any problem; the printing works fine with Windows Services. Please download the latest version and try it at your end to see if it works fine in your scenario as well.
If you find any issues or have further questions, please do let us know.
Regards,
Hi and thanks for your reply.
However, this is disappointing. Whilst your example might work OK, it does go directly against Aspose’s own documentation and that of Microsoft’s recommendations:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-print-a-document-on-a-server-via-the-xpsprint-api.html
http://support.microsoft.com/kb/324565
http://msdn.microsoft.com/en-us/library/system.drawing.printing.aspx
I cannot be in a situation where it might work - its isn’t a dead-end I want to go down.
Are there any other routes I could take using Pdf.Kit? For example, using the Xps Print API?
Thanks,
Mike.
Hi Mike,
As I have already mentioned that Aspose.Pdf.Kit for .NET uses System.Drawing namespace to print the PDF document, I’m afraid it doesn’t provide support for any other mechanism for printing purposes.
We’re sorry for the inconvenience. If you have any further questions, please do let us know.
Regards,
Hi,
Hi Mike,
I have logged a new feature request as PDFKITNET-18474 in our issue tracking system. Our team will investigate this requirement is detail and you’ll be updated via this forum thread once it is supported in future.
We’re sorry for the inconvenience.
Regards,