net stop spooler && net start spooler

Note: We combine the commands with && to ensure the start command runs immediately after the stop command finishes.

If restarting the spooler doesn't fix a stuck print job, you may need to clear the cache manually before restarting: