Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 13:46:19 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        "Potts, Ross" <rpotts@harris.com>
Cc:        "'Stephen Krauth'" <stephenk@stephenk.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How do you stop printing?
Message-ID:  <20001013134619.A4910@dan.emsphone.com>
In-Reply-To: <95B669A7D872D41182A600508BDFFB8C12D5AC@mlbmx7.ess.harris.com>; from "Potts, Ross" on Fri Oct 13 07:32:23 GMT 2000
References:  <95B669A7D872D41182A600508BDFFB8C12D5AC@mlbmx7.ess.harris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <job>".  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001013134619.A4910>