printscanbrokerservice.dll Error in Windows 10 and 11: App printing and scanning access errors

A supported app cannot access a printer or scanner and diagnostic details mention printscanbrokerservice.dll.
What this DLL does
This Windows filename is associated with service support that can broker some print or scan operations.
Start with this check
Check whether built-in Windows printing or an approved scanner application can use the same device. Record whether both printing and scanning are affected.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Repair the single affected app first if Windows can access the device. If all approved apps fail, use the supported device driver and Windows troubleshooters, retaining the relevant events.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Complete the intended authorized print or scan from the original app and verify the result.
For a related check, see wiaaut.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s Windows printer troubleshooting guide.