Go Back   Technibble Forums > General Computers > Guides, Tips and Tricks

  Technibble Sponsor

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2008, 03:45 PM
JohnG's Avatar
JohnG JohnG is offline
 
Join Date: Feb 2008
Location: Kingsport Tennessee
Posts: 127
JohnG is an unknown quantity at this point
Lightbulb Print Spooler Tool

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
Reply With Quote
  #2  
Old 03-13-2008, 08:38 PM
mh348 mh348 is offline
 
Join Date: Jan 2008
Location: South Africa
Posts: 153
mh348 is an unknown quantity at this point
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:29 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Technibble.com is based out of MELBOURNE, AUSTRALIA.