Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 348
Default How to force clearing of print buffer without restart.

Steve wrote:
Need to force the print buffer to clear all print jobs without restarting
computer. Problem occurs in Word and Excel.


This batch file ought to do it:

@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

Bill
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing Print Area Outline DubboPete Excel Discussion (Misc queries) 1 April 30th 09 03:26 PM
Clearing cells without clearing formulas marsjune68 Excel Discussion (Misc queries) 2 April 10th 09 07:39 PM
Clearing the keyboard buffer [email protected] Excel Discussion (Misc queries) 0 February 22nd 07 11:18 AM
craete a print buffer in execl morrisg Excel Discussion (Misc queries) 1 November 24th 06 12:40 PM
Print Breaks-Automatic or Force New Tracy Excel Worksheet Functions 1 March 23rd 06 12:17 AM


All times are GMT +1. The time now is 02:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"