Deleted Added
full compact
lpc.8 (75495) lpc.8 (78750)
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 75495 2001-04-13 19:59:47Z dd $
33.\" $FreeBSD: head/usr.sbin/lpr/lpc/lpc.8 78750 2001-06-25 02:05:03Z gad $
34.\"
34.\"
35.Dd April 28, 1995
35.Dd June 20, 2001
36.Dt LPC 8
37.Os BSD 4.2
38.Sh NAME
39.Nm lpc
40.Nd line printer control program
41.Sh SYNOPSIS
42.Nm
43.Op Ar command Op Ar argument ...

--- 47 unchanged lines hidden (view full) ---

91.Pp
92.It Ic clean Xo
93.Es \&{ \&}
94.En Cm all | Ar printer
95.Xc
96Remove any temporary files, data files, and control files that cannot
97be printed (i.e., do not form a complete printer job)
98from the specified printer queue(s) on the local machine.
36.Dt LPC 8
37.Os BSD 4.2
38.Sh NAME
39.Nm lpc
40.Nd line printer control program
41.Sh SYNOPSIS
42.Nm
43.Op Ar command Op Ar argument ...

--- 47 unchanged lines hidden (view full) ---

91.Pp
92.It Ic clean Xo
93.Es \&{ \&}
94.En Cm all | Ar printer
95.Xc
96Remove any temporary files, data files, and control files that cannot
97be printed (i.e., do not form a complete printer job)
98from the specified printer queue(s) on the local machine.
99This command will also look for 'core' files in spool directory
100for each printer queue, and list any that are found.
101It will not remove any 'core' files. See also the
102.Ic tclean
103command.
99.Pp
100.It Ic disable Xo
101.Es \&{ \&}
102.En Cm all | Ar printer
103.Xc
104Turn the specified printer queues off. This prevents new
105printer jobs from being entered into the queue by
106.Xr lpr 1 .

--- 53 unchanged lines hidden (view full) ---

160.Pp
161.It Ic stop Xo
162.Es \&{ \&}
163.En Cm all | Ar printer
164.Xc
165Stop a spooling daemon after the current job completes and disable
166printing.
167.Pp
104.Pp
105.It Ic disable Xo
106.Es \&{ \&}
107.En Cm all | Ar printer
108.Xc
109Turn the specified printer queues off. This prevents new
110printer jobs from being entered into the queue by
111.Xr lpr 1 .

--- 53 unchanged lines hidden (view full) ---

165.Pp
166.It Ic stop Xo
167.Es \&{ \&}
168.En Cm all | Ar printer
169.Xc
170Stop a spooling daemon after the current job completes and disable
171printing.
172.Pp
173.It Ic tclean Xo
174.Es \&{ \&}
175.En Cm all | Ar printer
176.Xc
177This will do a test-run of the
178.Ic clean
179command.
180All the same checking is done, but the command will only print out
181messages saying what a similar
182.Ic clean
183command would do if the user typed it in.
184It will not remove any files.
185Note that the
186.Ic clean
187command is a privileged command, while the
188.Ic tclean
189command is not restricted.
190.Pp
168.It Ic topq Ar printer Xo
169.Op Ar jobnum ...
170.Op Ar user ...
171.Xc
172Place the jobs in the order listed at the top of the printer queue.
173.Pp
174.It Ic up Xo
175.Es \&{ \&}

--- 35 unchanged lines hidden ---
191.It Ic topq Ar printer Xo
192.Op Ar jobnum ...
193.Op Ar user ...
194.Xc
195Place the jobs in the order listed at the top of the printer queue.
196.Pp
197.It Ic up Xo
198.Es \&{ \&}

--- 35 unchanged lines hidden ---