Can we print files in folder?
Can we print all files in one folder after clicking once the button?And then I want to print documents in sequence of file extension.How do i do?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Shubham KumarRank #621 · 3.8K reputationPosted Apr 10, 2015, 4:26 AM EDT
Dark Webber4 reputationPosted Apr 15, 2015, 11:35 PM EDT
1. Either invoke the default printing application associated with the file format. To do that, you can use the .NET Process.Start() method with ProcessStartInfo with the "PrintTo" Verb.
For details on this, see this post:
http://stackoverflow.com/questions/8938066/process-startinfo-to-print-pdf-not-working-in-windows-server-2003-from-asp-net
2. If you don't have the printing application (like Adobe Reader or Microsoft Office) installed on the PC, you will need a way to open the different file formats yourself then render them to the printer. To do that, you will most likely need a comprehensive toolkit that supports many file formats like Lead Tools.