lpc.8 (95235) | lpc.8 (98267) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)lpc.8 8.5 (Berkeley) 4/28/95 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)lpc.8 8.5 (Berkeley) 4/28/95 |
33.\" $FreeBSD: head/usr.sbin/lpr/lpc/lpc.8 95235 2002-04-22 01:04:02Z gad $ | 33.\" $FreeBSD: head/usr.sbin/lpr/lpc/lpc.8 98267 2002-06-15 22:51:58Z gad $ |
34.\" | 34.\" |
35.Dd June 20, 2001 | 35.Dd June 15, 2002 |
36.Dt LPC 8 37.Os 38.Sh NAME 39.Nm lpc 40.Nd line printer control program 41.Sh SYNOPSIS 42.Nm 43.Op Ar command Op Ar argument ... --- 9 unchanged lines hidden (view full) --- 53.It 54disable or enable a printer, 55.It 56disable or enable a printer's spooling queue, 57.It 58rearrange the order of jobs in a spooling queue, 59.It 60find the status of printers, and their associated | 36.Dt LPC 8 37.Os 38.Sh NAME 39.Nm lpc 40.Nd line printer control program 41.Sh SYNOPSIS 42.Nm 43.Op Ar command Op Ar argument ... --- 9 unchanged lines hidden (view full) --- 53.It 54disable or enable a printer, 55.It 56disable or enable a printer's spooling queue, 57.It 58rearrange the order of jobs in a spooling queue, 59.It 60find the status of printers, and their associated |
61spooling queues and printer daemons. | 61spooling queues and printer daemons, 62.It 63change the status message for printer queues (the status message 64may be seen by users as part of the output of the 65.Xr lpq 1 utility). |
62.El 63.Pp 64Without any arguments, 65.Nm 66will prompt for commands from the standard input. 67If arguments are supplied, 68.Nm 69interprets the first argument as a command and the remaining --- 64 unchanged lines hidden (view full) --- 134Attempt to start a new printer daemon. 135This is useful when some abnormal condition causes the daemon to 136die unexpectedly, leaving jobs in the queue. 137.Xr lpq 1 138will report that there is no daemon present when this condition occurs. 139If the user is the super-user, 140try to abort the current daemon first (i.e., kill and restart a stuck daemon). 141.Pp | 66.El 67.Pp 68Without any arguments, 69.Nm 70will prompt for commands from the standard input. 71If arguments are supplied, 72.Nm 73interprets the first argument as a command and the remaining --- 64 unchanged lines hidden (view full) --- 138Attempt to start a new printer daemon. 139This is useful when some abnormal condition causes the daemon to 140die unexpectedly, leaving jobs in the queue. 141.Xr lpq 1 142will report that there is no daemon present when this condition occurs. 143If the user is the super-user, 144try to abort the current daemon first (i.e., kill and restart a stuck daemon). 145.Pp |
146.It Ic setstatus Bro Cm all | Ar printer Brc Cm -msg Ar message ... 147Set the status message for the specified printers. 148The 149.Ic -msg 150argument is required to separate the list of printers from the text 151that will be the new status message. 152This is normally used to change the status message when the printer 153queue is no longer active after printing has been disabled, and you 154want to change what users will see in the output of the 155.Xr lpq 1 utility. 156.Pp |
|
142.It Ic start Brq Cm all | Ar printer 143Enable printing and start a spooling daemon for the listed printers. 144.Pp 145.It Ic status Brq Cm all | Ar printer 146Display the status of daemons and queues on the local machine. 147.Pp 148.It Ic stop Brq Cm all | Ar printer 149Stop a spooling daemon after the current job completes and disable --- 58 unchanged lines hidden --- | 157.It Ic start Brq Cm all | Ar printer 158Enable printing and start a spooling daemon for the listed printers. 159.Pp 160.It Ic status Brq Cm all | Ar printer 161Display the status of daemons and queues on the local machine. 162.Pp 163.It Ic stop Brq Cm all | Ar printer 164Stop a spooling daemon after the current job completes and disable --- 58 unchanged lines hidden --- |