Stop Printer

C

Cari \(MS-MVP\)

You can just stop the Printer Spooler by typing Net Stop Spooler at the
Start Run or the Command Prompt.
 
T

Trevor L.

Thank you.
That was mainly what I was looking for. I can put it into a .bat file and
create a shortcut to it.

However, I seem to recall that I need to clear the buffers as well and the
code I recall had some extra statements to pause for several seconds and
then restart the printer

Would this be something like:
pause 10
net start printer
?

And would this clear the printer buffers?
 
M

Mat

Try this

@echo off
net stop "print spooler"
del /q "%SystemRoot%\system32\spool\PRINTERS\*.*"
net start "print spooler"
ping localhost -n 5 > nul

I got it from a MS newsgroup a while ago.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top