Please ignore my previous post ;
The more accurate way of handling printer (spooler) functions is by the XP
built-in VBS scripts :
prncnfg.vbs
prndrvr.vbs
prnjobs.vbs
prnmngr.vbs
prnport.vbs
prnqctl.vbs
...which are located in your [system32] directory.
The one's you want (to stop printing and clear the que) are :
[prnjobs.vbs] and [prnqctl.vbs] and the syntax to place into a batch-file
would be :
------------------- copy between lines -------------------
@echo off
echo Cancelling current print job...
cscript prnjobs.vbs -x
echo Cancelling all print jobs...
cscript prnqctl.vbs -x
------------------- copy between lines -------------------
For usage instructions (syntax) for each of the prn[func].vbs scripts
included with XP, type the following at the command prompt ;
cscript prn[func].vbs /?
==
Cheers, Tim Meddick, Peckham, London.
Is there a way to delete everything in the printer queue using maybe
a batch file?
This would save paper and time.
I am sometimes at a computer where others walk away from it and there
are items in the printer queue.
Then when I print something, I have to wait while other pages come
out.