title: Printing does not work after publishing to IIS
body: <p>I have a PDF in a location. When I am trying to print it in visual studio it works. After publish to IIS it doesn't print.</p>
  
  <p>Here is my code:</p>
  
  <pre><code> bool useDefaultPrinter = (Request["useDefaultPrinter"] == "checked");
                  string printerName = Server.UrlDecode(Request["printerName"]);
                  //create a temp file name for our PDF report...
                  string fileName = Guid.NewGuid().ToString("N") + ".pdf";
                  Process printjob = new Process();
                  //printjob.StartInfo.FileName = @"../../../print/pos/print_without_preview/filename.pdf";//path of your file;  
                  //printjob.StartInfo.FileName = @"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe";
                  printjob.StartInfo.FileName = Server.MapPath("../../../print/pos/print_without_preview/filename.pdf");//path of your file;  
                  //printjob.StartInfo.Verb = "Print";
                  printjob.StartInfo.Verb = "PrintTo";
                  printjob.StartInfo.Arguments = "\"" + ddl_printer_list.SelectedValue + "\"";
                  printjob.StartInfo.CreateNoWindow = true;
                  printjob.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
                  PrinterSettings setting = new PrinterSettings();
                  setting.DefaultPageSettings.Landscape = true;
                  printjob.Start();
  </code></pre>