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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Farhan ShariffRank #2,004 · 725 reputationPosted Apr 16, 2014, 11:32 PM EDT
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