lpc.8 (15135) | lpc.8 (15648) |
---|---|
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. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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.\" | 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. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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.3 (Berkeley) 4/19/94 | 32.\" @(#)lpc.8 8.5 (Berkeley) 4/28/95 |
33.\" | 33.\" |
34.Dd April 19, 1994 | 34.Dd April 28, 1995 |
35.Dt LPC 8 36.Os BSD 4.2 37.Sh NAME 38.Nm lpc 39.Nd line printer control program 40.Sh SYNOPSIS 41.Nm lpc 42.Oo --- 69 unchanged lines hidden (view full) --- 112Enable spooling on the local queue for the listed printers. 113This will allow 114.Xr lpr 1 115to put new jobs in the spool queue. 116.Pp 117.It Ic exit 118.It Ic quit 119Exit from lpc. | 35.Dt LPC 8 36.Os BSD 4.2 37.Sh NAME 38.Nm lpc 39.Nd line printer control program 40.Sh SYNOPSIS 41.Nm lpc 42.Oo --- 69 unchanged lines hidden (view full) --- 112Enable spooling on the local queue for the listed printers. 113This will allow 114.Xr lpr 1 115to put new jobs in the spool queue. 116.Pp 117.It Ic exit 118.It Ic quit 119Exit from lpc. |
120.\" ne 1i |
|
120.Pp 121.It Ic restart No {\ all\ |\ printer\ } 122Attempt to start a new printer daemon. 123This is useful when some abnormal condition causes the daemon to 124die unexpectedly, leaving jobs in the queue. 125.Xr Lpq 1 126will report that there is no daemon present when this condition occurs. 127If the user is the super-user, --- 32 unchanged lines hidden (view full) --- 160.Xr printcap 5 161.Sh DIAGNOSTICS 162.Bl -tag -width Ds 163.It Sy "?Ambiguous command" 164abbreviation matches more than one command 165.It Sy "?Invalid command" 166no match was found 167.It Sy "?Privileged command" | 121.Pp 122.It Ic restart No {\ all\ |\ printer\ } 123Attempt to start a new printer daemon. 124This is useful when some abnormal condition causes the daemon to 125die unexpectedly, leaving jobs in the queue. 126.Xr Lpq 1 127will report that there is no daemon present when this condition occurs. 128If the user is the super-user, --- 32 unchanged lines hidden (view full) --- 161.Xr printcap 5 162.Sh DIAGNOSTICS 163.Bl -tag -width Ds 164.It Sy "?Ambiguous command" 165abbreviation matches more than one command 166.It Sy "?Invalid command" 167no match was found 168.It Sy "?Privileged command" |
168command can be executed by root only | 169you must be a member of group "operator" or root to execute this command |
169.El 170.Sh HISTORY 171The 172.Nm 173command appeared in 174.Bx 4.2 . | 170.El 171.Sh HISTORY 172The 173.Nm 174command appeared in 175.Bx 4.2 . |