UPL - "The spool file was not found" error when printing with UWP apps

book

Article ID: CTX695003

calendar_today

Updated On:

Description

Customer use the new "notepad" (UWP) is unbale to print.

After clicking the print button, then the error "The spool file was not found" will appear.  

If use the legacy notepad, it could be printed normally. 

Cause

Process monitor traces show that a spool file is being created by another worker thread rather than the Notepad process itself.

Soon after, spoolsvc.exe tries to open the file for read using impersonation of the user, and this fails with access-denied.

Resolution

Engineering team optimized the logic to handle the UWP Notepad.

The fixes contained in this latest patch will all be included in the release of AL 2507

Issue/Introduction

Customer reported the new Win11 Notepad UWP app is unable to print. 

Error: "The spool file was not found"