title: How can I send a file document to the printer and have it print?
body: <p>Here's the basic premise:</p>
  
  <p>My user clicks some gizmos and a PDF file is spit out to his desktop. Is there some way for me to send this file to the printer queue and have it print to the locally connected printer?</p>
  
  <pre><code>string filePath = "filepathisalreadysethere";
  SendToPrinter(filePath); //Something like this?
  </code></pre>
  
  <p>He will do this process many times. For each student in a classroom he has to print a small report card. So I generate a PDF for each student, and I'd like to automate the printing process instead of having the user generated pdf, print, generate pdf, print, generate pdf, print.</p>
  
  <p>Any suggestions on how to approach this? I'm running on Windows XP with Windows Forms .NET 4.</p>
  
  <p>I've found this <a href="https://stackoverflow.com/questions/4464261/how-to-print-files-stored-at-your-local-hard-drive-in-c">StackOverflow</a> question where the accepted answer suggests:</p>
  
  <blockquote>
    <p>Once you have created your files, you
    can print them via a command line (you
    can using the Command class found in
    the System.Diagnostics namespace for
    that)</p>
  </blockquote>
  
  <p>How would I accomplish this?</p>