We are using Aspose Pdf.Net to print pdfs to two different type of printers,
- Regular printer
- Plastic Card printer (Printer driver: https://www.evolis.com/)
Aspose works well with regular printer. But for plastic card printers, we found 2 issues
- It renames the document to generic “Print document” when it sends the document to queue.
- It raises “EndPrint” event even before printing gets started actually.
That means, following code doesn’t work.
viewer.PrinterJobName = printDocumentUid.ToString(); viewer.EndPrint += this.OnEndPrint;
When we send to a regular printer we can see the document with the guid-name in the queue. But with this platic card it have the ‘Print Document’ name.
So we can’t check if the document enters the queue and also check if it gets printed. Is there some other way to do this?