xref: /dflybsd-src/usr.sbin/lpr/lp/lp.1 (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1*86d7f5d3SJohn Marino.\"
2*86d7f5d3SJohn Marino.\" Copyright (c) 1995 Joerg Wunsch
3*86d7f5d3SJohn Marino.\"
4*86d7f5d3SJohn Marino.\" All rights reserved.
5*86d7f5d3SJohn Marino.\"
6*86d7f5d3SJohn Marino.\" This program is free software.
7*86d7f5d3SJohn Marino.\"
8*86d7f5d3SJohn Marino.\" Redistribution and use in source and binary forms, with or without
9*86d7f5d3SJohn Marino.\" modification, are permitted provided that the following conditions
10*86d7f5d3SJohn Marino.\" are met:
11*86d7f5d3SJohn Marino.\" 1. Redistributions of source code must retain the above copyright
12*86d7f5d3SJohn Marino.\"    notice, this list of conditions and the following disclaimer.
13*86d7f5d3SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright
14*86d7f5d3SJohn Marino.\"    notice, this list of conditions and the following disclaimer in the
15*86d7f5d3SJohn Marino.\"    documentation and/or other materials provided with the distribution.
16*86d7f5d3SJohn Marino.\" 3. All advertising materials mentioning features or use of this software
17*86d7f5d3SJohn Marino.\"    must display the following acknowledgement:
18*86d7f5d3SJohn Marino.\"	This product includes software developed by Joerg Wunsch
19*86d7f5d3SJohn Marino.\" 4. The name of the developer may not be used to endorse or promote
20*86d7f5d3SJohn Marino.\"    products derived from this software without specific prior written
21*86d7f5d3SJohn Marino.\"    permission.
22*86d7f5d3SJohn Marino.\"
23*86d7f5d3SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
24*86d7f5d3SJohn Marino.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25*86d7f5d3SJohn Marino.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26*86d7f5d3SJohn Marino.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
27*86d7f5d3SJohn Marino.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28*86d7f5d3SJohn Marino.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29*86d7f5d3SJohn Marino.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30*86d7f5d3SJohn Marino.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*86d7f5d3SJohn Marino.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32*86d7f5d3SJohn Marino.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*86d7f5d3SJohn Marino.\"
34*86d7f5d3SJohn Marino.\" $FreeBSD: src/usr.sbin/lpr/lp/lp.1,v 1.12.2.4 2002/06/21 16:40:43 charnier Exp $
35*86d7f5d3SJohn Marino.\" $DragonFly: src/usr.sbin/lpr/lp/lp.1,v 1.2 2003/06/17 04:29:56 dillon Exp $
36*86d7f5d3SJohn Marino.\"
37*86d7f5d3SJohn Marino.Dd January 22, 1995
38*86d7f5d3SJohn Marino.Dt LP 1
39*86d7f5d3SJohn Marino.Os
40*86d7f5d3SJohn Marino.Sh NAME
41*86d7f5d3SJohn Marino.Nm lp
42*86d7f5d3SJohn Marino.Nd front-end to the print spooler
43*86d7f5d3SJohn Marino.Sh SYNOPSIS
44*86d7f5d3SJohn Marino.Nm
45*86d7f5d3SJohn Marino.Op Fl cs
46*86d7f5d3SJohn Marino.Op Fl o Ar option
47*86d7f5d3SJohn Marino.Op Fl d Ar printer
48*86d7f5d3SJohn Marino.Op Fl n Ar num
49*86d7f5d3SJohn Marino.Op Ar name ...
50*86d7f5d3SJohn Marino.Sh DESCRIPTION
51*86d7f5d3SJohn MarinoThe
52*86d7f5d3SJohn Marino.Nm
53*86d7f5d3SJohn Marinoutility is a front-end to the print spooler as required by the
54*86d7f5d3SJohn Marino.St -p1003.2
55*86d7f5d3SJohn Marinospecification.  It effectively invokes
56*86d7f5d3SJohn Marino.Xr lpr 1
57*86d7f5d3SJohn Marinowith the proper set of arguments.
58*86d7f5d3SJohn Marino.Pp
59*86d7f5d3SJohn MarinoIt generally prints the named files on the destination printer.
60*86d7f5d3SJohn Marino.Pp
61*86d7f5d3SJohn MarinoThe following options are available:
62*86d7f5d3SJohn Marino.Bl -tag -width indent
63*86d7f5d3SJohn Marino.It Fl c
64*86d7f5d3SJohn MarinoMake the
65*86d7f5d3SJohn Marino.Nm
66*86d7f5d3SJohn Marinocommand exit only after further access to any of the input files is no
67*86d7f5d3SJohn Marinolonger required.  The application can then safely delete or modify the
68*86d7f5d3SJohn Marinofiles without affecting the output operation.
69*86d7f5d3SJohn Marino.It Fl d Ar dest
70*86d7f5d3SJohn MarinoSpecify a particular printer.
71*86d7f5d3SJohn MarinoIf no
72*86d7f5d3SJohn Marino.Fl d
73*86d7f5d3SJohn Marinois provided on the command line, the contents of the environment
74*86d7f5d3SJohn Marinovariables
75*86d7f5d3SJohn Marino.Ev LPDEST
76*86d7f5d3SJohn Marinoor
77*86d7f5d3SJohn Marino.Ev PRINTER
78*86d7f5d3SJohn Marino(with this precedence)
79*86d7f5d3SJohn Marinoare taken as the destination printer.
80*86d7f5d3SJohn Marino.It Fl n Ar num
81*86d7f5d3SJohn MarinoSpecify that
82*86d7f5d3SJohn Marino.Ar num
83*86d7f5d3SJohn Marinocopies of each of the named files shall be printed.
84*86d7f5d3SJohn Marino.It Fl o Ar option
85*86d7f5d3SJohn MarinoPrinter specific options.
86*86d7f5d3SJohn MarinoNot supported, provided only as a compatibility
87*86d7f5d3SJohn Marinooption for SVR.
88*86d7f5d3SJohn Marino.It Fl s
89*86d7f5d3SJohn MarinoSilent operation.
90*86d7f5d3SJohn MarinoNot supported,
91*86d7f5d3SJohn Marinoprovided only as a compatibility option for
92*86d7f5d3SJohn Marino.St -susv2 .
93*86d7f5d3SJohn Marino.El
94*86d7f5d3SJohn Marino.Sh ENVIRONMENT
95*86d7f5d3SJohn MarinoAs described above, the variables
96*86d7f5d3SJohn Marino.Ev LPDEST
97*86d7f5d3SJohn Marinoand
98*86d7f5d3SJohn Marino.Ev PRINTER
99*86d7f5d3SJohn Marinoare examined to select the destination printer.
100*86d7f5d3SJohn Marino.Sh SEE ALSO
101*86d7f5d3SJohn Marino.Xr lpr 1
102*86d7f5d3SJohn Marino.Sh STANDARDS
103*86d7f5d3SJohn MarinoThe
104*86d7f5d3SJohn Marino.Nm
105*86d7f5d3SJohn Marinocommand is expected to comply with the
106*86d7f5d3SJohn Marino.St -p1003.2
107*86d7f5d3SJohn Marinospecification.
108*86d7f5d3SJohn Marino.Sh AUTHORS
109*86d7f5d3SJohn MarinoThis implementation of the
110*86d7f5d3SJohn Marino.Nm
111*86d7f5d3SJohn Marinocommand has been written by
112*86d7f5d3SJohn Marino.An J\(:org Wunsch .
113*86d7f5d3SJohn Marino.Sh BUGS
114*86d7f5d3SJohn MarinoThe
115*86d7f5d3SJohn Marino.St -p1003.2
116*86d7f5d3SJohn Marinospecification does not provide any means to print non-text files.  It
117*86d7f5d3SJohn Marinorather requires the files to be printed to be text files limited to
118*86d7f5d3SJohn Marinoreasonable line lengths and printable characters.
119