Print an existing downloaded PDF in C# windows Application without showing Print Dialog

240 Views Asked by At

I am currently working on a C# Windows Application and I want to Print an existing PDF, which is already saved in a location on my PC. After trying a few solutions from Google, I could Print text documents but I am not able to Print PDFs. Expected a result is after clicking on a button , PDF should be Printed directly. Please note that I DON’T want to open in PDF in PDF viewer/Print preview and then allow the user to Print it.

I have already tried RawPintPackage , it is not working.and Using PrintDocument class i am able to Print Text documents but not PDF .

0

There are 0 best solutions below