title: Using File.Copy to send PDF to Printer by Printer Name
body: <p>I am trying to send an PDF file to a printer using the <code>File.Copy</code> method in C#.  When I reference the printer by name however, it always responds with </p>
  
  <blockquote>
    <p>'Could not find a part of the path'</p>
  </blockquote>
  
  <p>The printer name is fully qualified.  The user is selecting from a combo box that displays all the systems printers using the <code>PrinterSettings.InstalledPrinters</code> values.</p>
  
  <p>Am I missing something simple? </p>
  
  <p>Example:</p>
  
  <pre><code>File.Copy(FileInfo.FullName, "\\\\ServerName\\PrinterName", true);
  </code></pre>
  
  <p>The <code>"\\\\ServerName\\PrinterName"</code> is directly one of the names from <code>PrinterSettings.InstalledPrinters</code> collection.</p>