From owner-freebsd-questions Sat Oct 14 0:50: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 8A14B37B670 for ; Sat, 14 Oct 2000 00:49:59 -0700 (PDT) Received: (qmail 45219 invoked by uid 100); 13 Oct 2000 22:49:56 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14823.37268.814445.245046@guru.mired.org> Date: Fri, 13 Oct 2000 17:49:56 -0500 (CDT) To: Stephen Krauth Cc: questions@freebsd.org Subject: Re: How do you stop printing? In-Reply-To: <26817691@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 " will terminate the active job on the that printer and disable the printer. You might want to do "lpc", and then "abort ", so you can do things like "clean " and "start " 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.