Delete CUPS print job. Was:turning off printing or parallel port

Chris Aitken aitken-BwLjziHGQLusTnJN9+BGXg at public.gmane.org
Sun Jan 25 18:41:45 UTC 2004


Matthew Godycki wrote:

> ----- 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.

Yeah, looks to be right. I powered off. When I powered back up it was expunged.

Thanks Matt, Lennart and whomever else. That was my penultimate task in the W98
vm. The only one that really matters is the one I am putting off: getting sound
to work in linux, then the vm. I have lots of emails from you guys on how to do
that. I just gotta set aside some time to do it.

I guess we can put this thread out to pasture.

: )

Chris

--
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