hi
can any one help me
how to give direct print from pdf to printer using c# with out preview.
Loading
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 Jun 6, 2014, 4:28 AM
{
ProcessStartInfo info = new ProcessStartInfo();
info.Verb = "print";
info.FileName = @"C:\pdf.pdf";
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidden;
Process p = new Process();
p.StartInfo = info;
p.Start();
p.WaitForInputIdle();
System.Threading.Thread.Sleep(3000);
if (false == p.CloseMainWindow())
p.Kill();
}
Ravi KumarPosted Jun 6, 2014, 7:03 AM
this code is working fine.but when we host in iis it is not working.
how to open pdf from adobe read using java script