Hi Friends,
Can any one help how to print pdf file and doc file to printer in c#.net?
Please give me code..
how to give printer name ...
Hi Friends,
Can any one help how to print pdf file and doc file to printer in c#.net?
Please give me code..
how to give printer name ...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Farhan ShariffPosted Apr 17, 2014, 3:32 AM
Process process = new Process();
process.StartInfo.FileName = pdf Path;
process.UseShellExecute = true;
process.StartInfo.Verb = "printto";
process.StartInfo.Arguments = "\"" + printerName + "\"";
process.Start();
process.WaitForInputIdle();
process.Kill();
these might help you
http://www.c-sharpcorner.com/Blogs/13946/
http://www.codeproject.com/Tips/598424/How-to-Silently-Print-PDFs-using-Adobe-Reader-and