Hi,
I'm using the following code to send a pdf document to a printer without having to open it
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo();
psi.Verb = "print";
psi.FileName = @"C:\ReportPDF.pdf";
psi.UseShellExecute = true;
System.Diagnostics.Process.Start(psi);
But its picking the default printer and I would to be able to choose a printer before this code executes.
So, would someone have a sampe code that allows me to pick a printer (maybe something like windows dialog box),
Or if I could do the same in Javascript (Pass the path to PDF in code behind, pick printer then print).
Thanks
...
Go to the complete details ...