We are looking for a reliable way of printing in session 0, and understand that the System.drawing namespace is not supported to use in session 0 (windows services etc.).
We have a reliable way of printing EMF inside windows service, but our source file is PDF and need to convert it to EMF. I learned that Aspose.PDF can convert PDF to EMF, but the important question is that: does Aspose.PDF involve System.drawing namespace in .NET to do the conversion?
// load PDF document<o:p></o:p>
Document doc = new Document("c:/pdftest/document_with_table.pdf");
// creat EmfDevice object
Aspose.Pdf.Devices.EmfDevice emf = new EmfDevice(new Aspose.Pdf.Devices.Resolution(300));
// perform conversion of first page to EMF image
The issues you have found earlier (filed as PDFNET-35082) have been fixed in Aspose.PDF for .NET 19.1.