`PrintQueue.AddJob`没有完成

我尝试在某些PC上使用代码。

using (var lps = new LocalPrintServer()) using(var pqueue = lps.GetPrintQueue("PRINTER-NAME")) { pqueue.AddJob("job-name", @"C:\example.xps", false, pticket); } 

仅在一台PC上,它无法正常工作。 该应用程序冻结在AddJob方法。 即使等了很长时间,它也从未结束。 没有例外。

出现此问题的PC是Windows10并应用了CreatorsUpdate。 其他PC是Windows7,Windows8.1和Windows10应用的AnniversaryUpdate。

这个问题是CreatorsUpdate的错误吗?

补充:
具有CreatorsUpdate的PC可以通过此代码打印xps文件。

 using (var lps = new LocalPrintServer()) using(var pqueue = lps.GetPrintQueue("PRINTER-NAME")) using (var doc = new XpsDocument(@"C:\example.xps", System.IO.FileAccess.Read)) { var writer = PrintQueue.CreateXpsDocumentWriter(pqueue); var docSeq = doc.GetFixedDocumentSequence(); writer.Write(doc, pticket); }