ProcessStartInfo info = new ProcessStartInfo();
info.Verb = "print";
info.FileName = pdf2print;
//info.CreateNoWindow = false;
info.WindowStyle = ProcessWindowStyle.Hidden;
//info.UseShellExecute = true;
Process p = new Process();
p.StartInfo = info;
//MessageBox.Show("Print Will Start Now");
try
{
p.Start();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
Printspooler
Sushil Agarwal
381
Reputation points
In an application we sign n print pdf files. At times when number of PDFs sent for print are above 100 or more the printing sequence changes and prints are not in the order it was sent for print how this can be solved
1 answer
Sort by: Most helpful
-
Sushil Agarwal 381 Reputation points
2021-10-19T11:47:55.527+00:00