Delete CUPS print job. Was:turning off printing or parallel port
Matthew Godycki
mcg2-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Jan 25 16:49:16 UTC 2004
----- Original Message -----
From: "Chris Aitken" <aitken-BwLjziHGQLusTnJN9+BGXg at public.gmane.org>
To: <tlug-lxSQFCZeNF4 at public.gmane.org>
Sent: Sunday, January 25, 2004 10:42 AM
Subject: [TLUG]: Delete CUPS print job. Was:turning off printing or parallel
port
> Lennart Sorensen wrote:
>
> [..]
>
> > Try: modprobe -r lp after you stop cups. Stopping cups won't make the
> > module unload, so you have to do that yourself.
>
> Great - it worked.
>
> [root-5jgDBJOV2nY at public.gmane.org lsf]# /sbin/modprobe -r lp
>
> Then,
>
> /sbin/service cups stop
>
> Then I printed from the W98 vm. Then all I had to do was
>
> /sbin/service cups start and my CUPS print jobs picked up wher they left
off
> (nothing like /sbin/modprobe -load lp was necessary - I guess
/sbin/service
> cups start loads the module if necessary.
>
> Now I have a long CUPS print job in the queue which I would liek to
delete.
>
> I tried the following:
>
> [lsf-5jgDBJOV2nY at public.gmane.org lsf]$ lpq -P hp
> hp is ready and printing
> Rank Owner Job File(s) Total Size
> active lsf 9 (stdin) 22528 bytes
> [lsf-5jgDBJOV2nY at public.gmane.org lsf]$ lprm 9
> [lsf-5jgDBJOV2nY at public.gmane.org lsf]$ lpq -P hp
> hp is ready
> no entries
> [lsf-5jgDBJOV2nY at public.gmane.org lsf]$
>
> So, it's reporting the job is gone, but it's still printing. Is this a
case
> where powering the inkjet printer off to clear its own cache (if it has
one)
> would be necessary?
>
That would be my (un)educated guess. What likely has happened
is that the job has already cleared the queue and has been sent
to the printer. The remainder of that job is probably, as you
suggested, residing in your printer's RAM.
-Matthew
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list