XPS document fails to print some content on Windows 11
Symptoms
You have a Windows 11 installation where you print an XPS file to a printer. Printing fails or some content is not being printed. Doing the same on a Windows 10 device works fine.
Cause
An Access violation exception happens in the XpsRasterService.dll when using the PrintQueueStream
from .NET.
Resolution
Download the Windows 11 update: September 20, 2022—KB5017383 (OS Build 22000.1042) Preview
.
Fixed a known issue that affects XML Paper Specification (XPS) viewers. This might stop you from opening XPS files in some non-English languages. These include some Japanese and Chinese character encodings. This issue affects XPS and Open XPS (OXPS) files.
See also
- September 20, 2022—KB5017383 (OS Build 22000.1042) Preview support.microsoft.com
- KB5017383: A closer look at this Windows 11 update windowsreport.com
- Sometimes print jobs started by PrintQueueStream suffer an Exception in XpsRasterService.dll #6703 github.com
- Microsoft Update-catalogus KB5017383 catalog.update.microsoft.com