[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sheflug] Basic Printer operations



J Simpson V21 wrote:
>   Subject: Re: [sheflug] Basic Printer operations Steve Fisher wrote:
> 
> 
>>>Hi Guys,
>>>
>>>How do I cancel all jobs in a printer's queue easily?
>>
>> 
>>
> 
> 
> Hi Steve,
> 
> Will this do it?:
> 
> lprm -
> 
> Gary
> 
> Hi,
> This is one of my ongoing problems, so if you could clarify.
> 
> Sometimes when using Gimp, instead of printing a picture I get pages of  
> code. Even if I turn the printer off I come back the next day and it 
> continues to print, until it is finished.
> 
> So you type lprm in terminal? to stop it mid print?  And if that is 
> correct what do the letters mean or can I find them in a man page?
> Regards
> Janet

Hi Janet

lprm = Line Printer ReMove

lp is the print command in Linux and Unix
rm is the Linux/Unix command to delete (remove) a file

I used to have similar probs with an Epson when a print job screwed up.
There are two issues, one is removing the job from the printer spool 
directory which lprm will do for you and the other is emptying the 
printer's RAM of what it has loaded up of the job. I'm not exactly sure 
on this but completely powering down the printer, i.e. remove it's power 
lead not just switching off at the front, may help but you need to 
remove the print job from the queue too.

I now run an HP Deskjet 6640 USB printer which seems to behave ok.

I don't know if you have cups running but you could try localhost:631 in 
your browser of choice to load the cups printer admin pages.  There's a 
handy stop printer button in the printer section.

Regards

L.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.