|
#1
|
||||
|
||||
|
I have had this problem with customers in the past (and again this morning) using XP and Vista...they print a document and the queue will not delete the document, you know the spooler hangs, and other jobs get jammed. I have a script I use and thought some of you might like to add it to your tools. The only drawback is having to resend your jobs to the printer. Just copy the following text to notepad save as Print Spooler Purge.bat. Then you can assign your own icon as you see fit, you know, tailored for your business
and place it on the customers desktop...anyway I appreciate what the site/forum has given me, and thought I'd like to give back a small bit myself.@echo off echo. echo Purging the print queue . . . net stop Spooler echo Deleting all print jobs . . . ping localhost -n 4 > nul del /q %SystemRoot%\system32\spool\printers\*.* net start Spooler echo Done! ping localhost -n 4 > nul |
|
#2
|
|||
|
|||
|
I Have a similar Batch Script:
Code:
@ECHO OFF echo ---------------------------------- echo Printer Spooler - MH COMPUTERS echo ---------------------------------- echo. echo Step 1: Stop the Print Spooler echo ------------------------------ net stop spooler echo. echo Step 2: Erasing old printer documents echo ------------------------------------------------- cd "%systemroot%\System32\Spool\Printers\" del /Q /F /S *.* echo Done! echo. echo Step 3: Problems eliminated! Restarting printer services echo -------------------------------------------------------- net start spooler echo Spooler has been restarted! echo. echo Step 4: Try printing again. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|