Guest Jim Hawkins Posted April 11, 2008 Posted April 11, 2008 I'm trying to stop a very long print to a dotmatrix printer on the parallel port. The program doesn't make use of the Windows Printers facility, it simply does a 'copy <myfile> to prn' I've tried turning both the PC and the printer off, but it has clearly not emptied the buffer, because when I turn on again the print resumes! How can I clear the print buffer ? Jim Hawkins
Guest Pegasus \(MVP\) Posted April 11, 2008 Posted April 11, 2008 Re: Clearing PRN "Jim Hawkins" <jimhawkins@manx.net> wrote in message news:u2YwLn9mIHA.3780@TK2MSFTNGP06.phx.gbl... > I'm trying to stop a very long print to a dotmatrix printer > on the parallel port. > The program doesn't make use of the Windows Printers > facility, it simply does a 'copy <myfile> to prn' > I've tried turning both the PC and the printer off, but > it has clearly not emptied the buffer, because when > I turn on again the print resumes! > > How can I clear the print buffer ? > > Jim Hawkins > Yes, the program does make use of the Windows printing facilities, if only because WinXP won't let it do it any other way! Copy the lines below into the file c:\Windows\Purge.bat, then create a desktop shortcut to c:\Windows\Purge.bat. To clear the print queue, do this: 1. Turn off the printer. 2. Double-click this shortcut. 3. Turn on the printer. @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
Guest Jim Hawkins Posted April 11, 2008 Posted April 11, 2008 Re: Clearing PRN "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:eR00Ls9mIHA.2328@TK2MSFTNGP03.phx.gbl... > > "Jim Hawkins" <jimhawkins@manx.net> wrote in message > news:u2YwLn9mIHA.3780@TK2MSFTNGP06.phx.gbl... >> I'm trying to stop a very long print to a dotmatrix printer >> on the parallel port. >> The program doesn't make use of the Windows Printers >> facility, it simply does a 'copy <myfile> to prn' >> I've tried turning both the PC and the printer off, but >> it has clearly not emptied the buffer, because when >> I turn on again the print resumes! >> >> How can I clear the print buffer ? >> >> Jim Hawkins >> > > Yes, the program does make use of the Windows printing > facilities, if only because WinXP won't let it do it any other > way! > > Copy the lines below into the file c:\Windows\Purge.bat, > then create a desktop shortcut to c:\Windows\Purge.bat. To > clear the print queue, do this: > 1. Turn off the printer. > 2. Double-click this shortcut. > 3. Turn on the printer. > @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 > Many thanks Pegasus ! Jim Hawkins
Guest alpweb Posted June 25, 2008 Posted June 25, 2008 Re: Clearing PRN you can clear buffer by using panel for dmp printer (find buffer clear combination keys) EX. Hold FF+Load+Eject refer manual. or just power on and off untill it is clered.
Recommended Posts