This 3-step document provides instructions for fixing printer spooling issues by stopping and restarting the printer spooler service, reassigning its dependencies, and deleting any existing print jobs. It stops the spooler service, reassigns its RPCSS dependency which is important for some Lexmark printers, deletes all spool files, and then restarts the spooler service. The final step is to try printing again once these processes are completed.
1. @ECHO OFF
echo -------------------------------------------
echo PrinterSpoolerFix by Norman Dempsey
echo -------------------------------------------
echo.
echo Step 1 - Stop the Print Spooler
echo -------------------------------------------
net stop spooler
echo.
ping localhost -n 4 > nul
echo Step 1.5: Reassigning Print Spooler Dependencies
echo Credit to Brad Kovach for this step
echo ------------------------------------------------
echo This step is important if you have a Lexmark printer which screws up the
services and may make it impossible to start the print spooler
echo.
sc config spooler depend= RPCSS
echo.
echo Done!
echo.
echo Step 2 - Time to delete any print jobs
echo -------------------------------------------
del %systemroot%system32spoolprinters*.shd
del %systemroot%system32spoolprinters*.spl
echo.
echo Step 2 complete. Print Jobs deleted (if they were present).
echo.
echo Step 3 - Restarting printer services...
echo -------------------------------------------
net start spooler
echo Spooler has been restarted!
echo.
echo Step 4 - Try printing again.
ping localhost -n 8 > nul