You can try using the Virtual Printer in the LEADTOOLS SDK to save your images from the print dialog. This can be used to capture the print job, and then used to save the images. This supports a large variety of file formats. Here is code that you can use to get started.
LeadPrinter = new Printer(printerName);
LeadPrinter.EmfEvent += new EventHandler(LeadPrinter_EmfEvent);
LeadPrinter.JobEvent += new EventHandler(LeadPrinter_JobEvent);
Abhishek KumarRank #510 · 4.8K reputationPosted Mar 12, 2015, 4:43 AM EDT
Please follow the belwo link.
http://www.c-sharpcorner.com/UploadFile/srajlaxmi/printing-windows-form-in-C-Sharp-net/
Hope thsi will help.
Let me know if you want sample code on this.
Abhishek
Ajit MoreRank #2,780 · 507 reputationPosted Mar 12, 2015, 7:56 PM EDT
Marvin ReidRank #1,963 · 746 reputationPosted Apr 7, 2021, 4:54 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts