Hi, good day!
Have you tried the solution suggested by AI?
When was the last time it worked properly?
You can try reinstalling the Microsoft XPS Document Writer via Command Prompt
Open and run Command Prompt as administrator
Copy and paste the command below then press Enter
dism /Online /Enable-Feature /FeatureName:"Printing-XPSServices-Features" /All /NoRestart
Wait for the installation process to complete
I look forward to receiving your update and I'm willing to collaborate with you till we resolve the issue. Do keep me informed by clicking "Add comment" below.