1e3fa32b4SJoerg Wunsch.\" 2e3fa32b4SJoerg Wunsch.\" Copyright (c) 1995 Joerg Wunsch 3e3fa32b4SJoerg Wunsch.\" 4e3fa32b4SJoerg Wunsch.\" All rights reserved. 5e3fa32b4SJoerg Wunsch.\" 6e3fa32b4SJoerg Wunsch.\" This program is free software. 7e3fa32b4SJoerg Wunsch.\" 8e3fa32b4SJoerg Wunsch.\" Redistribution and use in source and binary forms, with or without 9e3fa32b4SJoerg Wunsch.\" modification, are permitted provided that the following conditions 10e3fa32b4SJoerg Wunsch.\" are met: 11e3fa32b4SJoerg Wunsch.\" 1. Redistributions of source code must retain the above copyright 12e3fa32b4SJoerg Wunsch.\" notice, this list of conditions and the following disclaimer. 13e3fa32b4SJoerg Wunsch.\" 2. Redistributions in binary form must reproduce the above copyright 14e3fa32b4SJoerg Wunsch.\" notice, this list of conditions and the following disclaimer in the 15e3fa32b4SJoerg Wunsch.\" documentation and/or other materials provided with the distribution. 16e3fa32b4SJoerg Wunsch.\" 3. All advertising materials mentioning features or use of this software 17e3fa32b4SJoerg Wunsch.\" must display the following acknowledgement: 18e3fa32b4SJoerg Wunsch.\" This product includes software developed by Joerg Wunsch 19e3fa32b4SJoerg Wunsch.\" 4. The name of the developer may not be used to endorse or promote 20e3fa32b4SJoerg Wunsch.\" products derived from this software without specific prior written 21e3fa32b4SJoerg Wunsch.\" permission. 22e3fa32b4SJoerg Wunsch.\" 23e3fa32b4SJoerg Wunsch.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 24e3fa32b4SJoerg Wunsch.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25e3fa32b4SJoerg Wunsch.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26e3fa32b4SJoerg Wunsch.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 27e3fa32b4SJoerg Wunsch.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28e3fa32b4SJoerg Wunsch.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29e3fa32b4SJoerg Wunsch.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30e3fa32b4SJoerg Wunsch.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31e3fa32b4SJoerg Wunsch.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32e3fa32b4SJoerg Wunsch.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33e3fa32b4SJoerg Wunsch.\" 3497d92980SPeter Wemm.\" $FreeBSD$ 35e3fa32b4SJoerg Wunsch.\" 36e3fa32b4SJoerg Wunsch.Dd January 22, 1995 37e3fa32b4SJoerg Wunsch.Dt LP 1 38e3fa32b4SJoerg Wunsch.Os 39e3fa32b4SJoerg Wunsch.Sh NAME 40e3fa32b4SJoerg Wunsch.Nm lp 41e3fa32b4SJoerg Wunsch.Nd front-end to the print spooler 42e3fa32b4SJoerg Wunsch.Sh SYNOPSIS 43e3fa32b4SJoerg Wunsch.Nm lp 4484342240SSheldon Hearn.Op Fl cs 4542212752SSheldon Hearn.Op Fl o Ar option 469b3fe531SPhilippe Charnier.Op Fl d Ar printer 47e3fa32b4SJoerg Wunsch.Op Fl n Ar num 48e3fa32b4SJoerg Wunsch.Op Ar name ... 49e3fa32b4SJoerg Wunsch.Sh DESCRIPTION 50e3fa32b4SJoerg Wunsch.Nm Lp 51e3fa32b4SJoerg Wunschis a front-end to the print spooler as required by the 52e3fa32b4SJoerg Wunsch.St -p1003.2 53e3fa32b4SJoerg Wunschspecification. It effectively invokes 54e3fa32b4SJoerg Wunsch.Xr lpr 1 55e3fa32b4SJoerg Wunschwith the proper set of arguments. 56e3fa32b4SJoerg Wunsch 57e3fa32b4SJoerg WunschIt generally prints the named files on the destination printer. 58e3fa32b4SJoerg Wunsch.Pp 599b3fe531SPhilippe CharnierThe following options are available: 609b3fe531SPhilippe Charnier.Bl -tag -width indent 619b3fe531SPhilippe Charnier.It Fl c 629b3fe531SPhilippe CharnierMake the 63e3fa32b4SJoerg Wunsch.Nm 64e3fa32b4SJoerg Wunschcommand exit only after further access to any of the input files is no 65e3fa32b4SJoerg Wunschlonger required. The application can then safely delete or modify the 66e3fa32b4SJoerg Wunschfiles without affecting the output operation. 679b3fe531SPhilippe Charnier.It Fl d Ar dest 68f2e366a1SSheldon HearnSpecify a particular printer. 69f2e366a1SSheldon HearnIf no 70e3fa32b4SJoerg Wunsch.Fl d 7134384756SPhilippe Charnieris provided on the command line, the contents of the environment 72e3fa32b4SJoerg Wunschvariables 73e3fa32b4SJoerg Wunsch.Ev LPDEST 74e3fa32b4SJoerg Wunschor 75e3fa32b4SJoerg Wunsch.Ev PRINTER 76e3fa32b4SJoerg Wunsch.Pq with this precedence 77e3fa32b4SJoerg Wunschare taken as the destination printer. 789b3fe531SPhilippe Charnier.It Fl n Ar num 799b3fe531SPhilippe CharnierSpecify that 80e3fa32b4SJoerg Wunsch.Ar num 81e3fa32b4SJoerg Wunschcopies of each of the named files shall be printed. 8242212752SSheldon Hearn.It Fl o Ar option 8342212752SSheldon HearnPrinter specific options. 8442212752SSheldon HearnNot supported, provided only as a compatibility 8542212752SSheldon Hearnoption for SVR. 8684342240SSheldon Hearn.It Fl s 8784342240SSheldon HearnSilent operation. 8884342240SSheldon HearnNot supported, 8984342240SSheldon Hearnprovided only as a compatibility option for 9084342240SSheldon Hearn.St -susv2 . 919b3fe531SPhilippe Charnier.El 92e3fa32b4SJoerg Wunsch.Sh ENVIRONMENT 93e3fa32b4SJoerg WunschAs described above, the variables 94e3fa32b4SJoerg Wunsch.Ev LPDEST 95e3fa32b4SJoerg Wunschand 96e3fa32b4SJoerg Wunsch.Ev PRINTER 97e3fa32b4SJoerg Wunschare examined to select the destination printer. 98e3fa32b4SJoerg Wunsch 99e3fa32b4SJoerg Wunsch.Sh SEE ALSO 100e3fa32b4SJoerg Wunsch.Xr lpr 1 101e3fa32b4SJoerg Wunsch.Sh STANDARDS 102e3fa32b4SJoerg WunschThe 1039b3fe531SPhilippe Charnier.Nm 104e3fa32b4SJoerg Wunschcommand is expected to comply with the 105e3fa32b4SJoerg Wunsch.St -p1003.2 106e3fa32b4SJoerg Wunschspecification. 107f12a1471SPhilippe Charnier.Sh AUTHORS 108e3fa32b4SJoerg WunschThis implementation of the 109e3fa32b4SJoerg Wunsch.Nm 110e3fa32b4SJoerg Wunschcommand has been written by 111e3fa32b4SJoerg Wunsch.if t J\(:org Wunsch. 112e3fa32b4SJoerg Wunsch.if n Joerg Wunsch. 113e3fa32b4SJoerg Wunsch.Sh BUGS 114e3fa32b4SJoerg WunschThe 115e3fa32b4SJoerg Wunsch.St -p1003.2 116e3fa32b4SJoerg Wunschspecification does not provide any means to print non-text files. It 117e3fa32b4SJoerg Wunschrather requires the files to be printed to be text files limited to 118e3fa32b4SJoerg Wunschreasonable line lengths and printable characters. 119