ps5ui.dll Error in Windows 10 and 11: Windows PostScript printer interface

A PostScript printing queue may print basic jobs but fail when its driver-specific preferences open.
The Windows file inventory identifies ps5ui.dll as PostScript Driver User Interface. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Check whether the installed driver actually supports the printer model and PostScript. Compare Device Settings and a known one-page test.
Compare the two settings views for the same queue. Open the intended queue’s Printer properties and note whether Device Settings is available. Then open Printing preferences and see whether that alone fails. Microsoft’s PostScript user interface guide explains the two views. Keep options unchanged during diagnosis. After the vendor’s repair, reopen the failing view and print the same approved one-page test.
Repair the affected feature
Repair or reinstall the manufacturer’s signed driver. Select the documented printer language and supported defaults for the device.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Open the same preferences panel and print one test page using the original required option.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.