title: Exception occurred while creating the PrintServer object. Win32 error: The printer name is invalid
body: <p>Hi, I'm getting this exception when I try to create <code>printserver</code> object.
  Here is my code:</p>
  
  <pre><code>PrintServer printServer = new PrintServer(@"\\" + printServerName);
  PrintQueue printQueue = printServer.GetPrintQueue(printerName);
  </code></pre>
  
  <p>I'm trying to get the printers from another machine which is running on Windows Server 2012. Same code works fine if I try to access some OS based system.
  Any help will be appreciated. Thanks in advance.</p>