Date: Sun, 15 Oct 2000 18:03:36 -0700 (PDT) From: Stephen Krauth <stephenk@stephenk.com> To: Mike Meyer <mwm@mired.org> Cc: questions@freebsd.org Subject: Re: How do you stop printing? Message-ID: <Pine.BSF.4.21.0010151802010.378-100000@beelzebub.inside.killermartian.com> In-Reply-To: <14823.37268.814445.245046@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Oct 2000, Mike Meyer wrote: > Stephen Krauth writes: > > I tried to cancel a huge print job, with extremely frustrating results. > > First mistake: I turned off that printer; that simply made it print single > > lines of garbage on each page. Then I tried 'lprm', which claimed to > > remove the job; I killed -9 lpd and the accompanying other process for > > apsfilter. I unplugged the printer, several times. The *ONLY* thing that > > would stop the madness was rebooting freebsd. > > > > What's the deal? Was some device buffer filled by the kernel and simply > > unclearable no matter what? How do you stop this? > > Removing the job with lprm just takes it out of the queue, it doesn't > do anything to the running daemon. For that, you use lpc. The lpc > command "lpc abort <printer>" will terminate the active job on the > that printer and disable the printer. You might want to do "lpc", and > then "abort <printer>", so you can do things like "clean <printer>" > and "start <printer>" to get the printer works again. You may need to > do an lprm while the printer is down to remove the job from the queue. > > Be warned that aborting the print job doesn't stop the printer - it > just stops the daemon from sending data to it. On a modern printer > with lots of memory, you may want to power cycle and/or reset the > printer before starting it again. Excellent - that's exactly what I was looking for. Thanks! Steve K. U.F.O. - "For the feeler gauge in you." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010151802010.378-100000>