title: PrintQueue.AddJob() stops execution
body: <p>I am trying to print an xps file with a local printer without any dialog. When I call PrintQueue.AddJob() the execution stops it doesn't go to the next line of code but it doesn't throw any exception and the programming keeps running.</p>
  
  <p>The code I use:</p>
  
  <pre><code>LocalPrintServer lps = new LocalPrintServer();
  PrintQueue pq = lps.GetPrintQueue("printQueueName");
  
  pq.AddJob("jobName", pathToFile, false);
  </code></pre>
  
  <p>Thank you.</p>