A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Clearing PRN



 
 
Thread Tools Display Modes
  #1  
Old April 11th 08, 02:41 PM posted to microsoft.public.windowsxp.general
Jim Hawkins
external usenet poster
 
Posts: 41
Default Clearing PRN

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


Ads
  #2  
Old April 11th 08, 02:50 PM posted to microsoft.public.windowsxp.general
Pegasus \(MVP\)[_831_]
external usenet poster
 
Posts: 1
Default Clearing PRN


"Jim Hawkins" wrote in message
...
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


  #3  
Old April 11th 08, 03:04 PM posted to microsoft.public.windowsxp.general
Jim Hawkins
external usenet poster
 
Posts: 41
Default Clearing PRN


"Pegasus (MVP)" wrote in message
...

"Jim Hawkins" wrote in message
...
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




  #4  
Old June 25th 08, 06:04 AM posted to microsoft.public.windowsxp.general
alpweb[_2_]
external usenet poster
 
Posts: 1
Default 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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 08:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.