Problems deleting from the Print Queue?
Results 1 to 7 of 7

Thread: Problems deleting from the Print Queue?

  1. #1
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    5,132

    Problems deleting from the Print Queue?

    Instead of doing it the manual way (stop spool service, delete from spool folder etc), here is a little batch program that does it for you with a simple double click. Enjoy...

    http://www.bradkovach.com/wp-content...tflush-1.3.zip

  2. #2
    Join Date
    Sep 1999
    Location
    Clearwater, Fl.
    Posts
    22,607
    Do you have a link to detailed info on the download?
    If you're happy and you know it......it's your meds.

  3. #3
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    5,132
    No, that's all I have.

    I checked the batch file though, and it does 3 very simple things. Turns spool service off, deletes the Printer folder (%systemroot%\System32\Spool\Printers) and restarts the spool service :
    @ECHO OFF
    echo ----------------------------------
    echo Print Flush - 1.3 - By Brad Kovach
    echo ----------------------------------
    echo.

    echo Step 1: Stop the Print Spooler
    echo ------------------------------
    net stop spooler
    echo.

    echo Step 1.5: Reassigning Print Spooler Dependencies
    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: Erasing old chaf (junk printer documents)
    echo -------------------------------------------------
    del /Q /F /S "%systemroot%\System32\Spool\Printers\*.*"
    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.

  4. #4
    Join Date
    Sep 1999
    Location
    Clearwater, Fl.
    Posts
    22,607
    And if all else fails - turn the printer off for a few seconds
    If you're happy and you know it......it's your meds.

  5. #5
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    5,132
    That doesn't solve the queue problem as it's connected to a Windows Service.

  6. #6
    HAN's Avatar
    HAN is offline Virtual PC Specialist!!!
    Join Date
    Feb 2002
    Location
    USA
    Posts
    4,319
    Dumb question... If you stop the spooler, doesn't it clear out the queue by default? At work, it always seems like it does.

  7. #7
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    5,132
    No, it makes the queue disappear until you restart the service, and then the queue reappears. The files remain in the Printer folder under System32 until you manually erase them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •