Print Job Fails to Print when Printed from WPF Application to XPS Printer Pool

Applies to: Windows 7 EnterpriseWindows 7 Home BasicWindows 7 Home Premium

Symptoms


Consider the following scenario:
  • You have Windows 7 installed on your computer.
  • You have a printer installed using an XPS printer driver.
  • Print Pooling has been enabled for the XPS printer.
  • You print from a Windows Presentation Foundation (WPF) application to the pooled XPS printer.


In this scenario, after selecting the XPS Printer and clicking the Print button, you will notice that there is no printed output. Additionally, if you view the print queue for the printer, you will see the spooling of the print job and then it will be deleted with no output. No error messages or warnings are shown.


Cause


The printer port is incorrectly identified.


Resolution


In order to work around this issue when you print from within the WPF application, either select a pooled printer that is using a non-XPS printer driver or a non-pooled printer that is using an XPS printer driver.