title: Printing specific pages from a PDF file without user interaction
body: <p>For example I have a 30 page long PDF file located on an internal server. User wants to have a button, that prints only the 5th, 6th, 7th pages of it.</p>
  
  <p>Downloading PDF from URL without user interaction, URL always contains a .pdf file:</p>
  
  <pre><code>public void DownloadFileToLocalFolder(string urlToPdf)
      {
          using (WebClient wc = new WebClient())
          {
              wc.UseDefaultCredentials = true;
              wc.DownloadFile(new System.Uri(urlToPdf), "C:\\Pdf\1.pdf");
          }
      }
  </code></pre>
  
  <p>Printing this file to the default printer without user interaction:</p>
  
  <pre><code>public void PrintFile(string path)
      {
          var pi = new ProcessStartInfo(path);
          process.UseShellExecute = true;
          process.Verb = "print";
          var process = System.Diagnostics.Process.Start(process);
      }
  </code></pre>
  
  <p>How could I send specific pages to the printer from a PDF file?</p>