stupid question

Jerry Feldman gaf at blu.org
Fri Jun 2 15:44:00 EDT 2006


On Friday 02 June 2006 3:23 pm, fj1200 at comcast.net wrote:
>  -------------- Original message ----------------------
> From: Lori Nagel <jastiv at yahoo.com>
>
> > Do you know how to turn off the printers memory? My
> > husband and I have an hp deskjet 812c and we can't
> > seem to get it to stop prininting a bunch of useless
> > pages.  We tried turning it on and off.  Can you help
> > us so it won't print that garbage out anymore?

> You can't turn off the printer's memory per se...   You have to kill the
> printjob. and depending on how the printer queue is managed, will depoend
> on what application you need to run...   If using CUPS, then you will
> need to use the CUPS tools to determine which print job you need to
> remove, if using the standard LPD printer daemon, then use lpstat to find
> out what is in the queue, and lprm to remove the offending job from the
> queue.
You need to do BOTH.
First, turn off the printer. This will effectively clear the printer's 
memory, BUT it will not remove the print job from your computer.
Next, use the lprm command (or CUPS) to cancel the print job.

The lp commands are:
lpq #this will tell you what jobs are queued up. If you have more than one 
printer, use the -P (upper case P) option.

lprm # Remove a job from the queue. You get the job number from the lpq 
command. Again, the -P option can be used to point at the specific printer.

These will work with CUPS. Additionally, printer queues survive reboots. 

Once all the jobs are removed, then it is safe to turn on your printer. The 
memory should be cleared. 


-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9



More information about the gnhlug-discuss mailing list