Oddly I have had to do this a couple times lately. Easy to find when searching but documenting it anyway.
net stop spooler
del %systemroot%\System32\spool\printers\* /Q /F /S
net start spooler
I haven't used this yet but plan to on the next Win 11 implementation. The .bat file to run the .ps1 Paste the following into a notepad ...