title: How do I print a PCL file in C#?
body: <p>I have a PCL file that I generated using "print to file".</p>
  
  <p>What's the best way to programmatically print this file in C#?</p>
  
  <p>(Given of course that the printer I am printing to supports PCL.)</p>
  
  <p>I know that I can print by invoking from a prompt:</p>
  
  <pre><code>copy filename.pcl //location/printername
  </code></pre>
  
  <p>So I would imagine that I could also do the same thing programmatically (using copy)... I wonder if there is a cleaner way to do this, say using PrintDocument.</p>
  
  <p>Note that when I use PrintDocument:</p>
  
  <pre><code>var pd = new PrintDocument
           {
               DocumentName = @"filename.pcl";
               PrinterSettings = {PrinterName = @"\\location\printername"}
           };
  
  pd.Print();
  </code></pre>
  
  <p>I always get a blank page printed.</p>