Print Pdf file problem after publish on ISS server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subhash123
    New Member
    • Nov 2008
    • 2

    Print Pdf file problem after publish on ISS server

    no error mesage come for print related , but say print successfully but there is not print any pages, my code for print is

    String pathToExecutabl e = @"C:\Program Files\Adobe\Rea der 4.0\Reader\Acro Rd32.exe";
    String s1Reports = @"" + pdfPath;
    String SPrinter = @"\\Server\H P LaserJet 3050 Series PCL 6";
    ProcessStartInf o starter = new ProcessStartInf o(pathToExecuta ble, "/t " + s1Reports + " " + SPrinter + " ");
    Process ps = new Process();
    ps.StartInfo = starter;
    ps.StartInfo.Us eShellExecute = false;
    ps.Start();
    ps.WaitForExit( 10000);
    ps.Close();
    please help me, and sometime giving error the specified path was not found.

    subhash
Working...