From owner-freebsd-questions Fri Oct 13 11:46:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1A01837B66D for ; Fri, 13 Oct 2000 11:46:24 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id e9DIkJZ07216; Fri, 13 Oct 2000 13:46:19 -0500 (CDT) (envelope-from dan) Date: Fri, 13 Oct 2000 13:46:19 -0500 From: Dan Nelson To: "Potts, Ross" Cc: "'Stephen Krauth'" , freebsd-questions@FreeBSD.ORG Subject: Re: How do you stop printing? Message-ID: <20001013134619.A4910@dan.emsphone.com> References: <95B669A7D872D41182A600508BDFFB8C12D5AC@mlbmx7.ess.harris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.10i In-Reply-To: <95B669A7D872D41182A600508BDFFB8C12D5AC@mlbmx7.ess.harris.com>; from "Potts, Ross" on Fri Oct 13 07:32:23 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Oct 13), Potts, Ross said: > If I remember correctly, there is a command called stop or > cancel(look under man lp or lpr, it should lead you to it). What you > need is the number of the print job, not the Unix process Number, the > actual print job. Example: > > #lpstat -t -- this should list any running printjobs > #stop hp-345 -- hp-345 is the printjob number > > Now that I think about it, the command is cancel. > > #cancel hp-345 Actually, the command is "lprm ". You can get a list of jobs on your default printer with the "lpq" command, and "lpq -a" prints the queues of all printers configured on your system. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message