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 43e97407b4SRuslan Ermilov.Nm 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 507f94b8deSPhilippe CharnierThe 517f94b8deSPhilippe Charnier.Nm 527f94b8deSPhilippe Charnierutility is a front-end to the print spooler as required by the 53e3fa32b4SJoerg Wunsch.St -p1003.2 54e3fa32b4SJoerg Wunschspecification. It effectively invokes 55e3fa32b4SJoerg Wunsch.Xr lpr 1 56e3fa32b4SJoerg Wunschwith the proper set of arguments. 57a3e71776SSheldon Hearn.Pp 58e3fa32b4SJoerg WunschIt generally prints the named files on the destination printer. 59e3fa32b4SJoerg Wunsch.Pp 609b3fe531SPhilippe CharnierThe following options are available: 619b3fe531SPhilippe Charnier.Bl -tag -width indent 629b3fe531SPhilippe Charnier.It Fl c 639b3fe531SPhilippe CharnierMake the 64e3fa32b4SJoerg Wunsch.Nm 65e3fa32b4SJoerg Wunschcommand exit only after further access to any of the input files is no 66e3fa32b4SJoerg Wunschlonger required. The application can then safely delete or modify the 67e3fa32b4SJoerg Wunschfiles without affecting the output operation. 689b3fe531SPhilippe Charnier.It Fl d Ar dest 69f2e366a1SSheldon HearnSpecify a particular printer. 70f2e366a1SSheldon HearnIf no 71e3fa32b4SJoerg Wunsch.Fl d 7234384756SPhilippe Charnieris provided on the command line, the contents of the environment 73e3fa32b4SJoerg Wunschvariables 74e3fa32b4SJoerg Wunsch.Ev LPDEST 75e3fa32b4SJoerg Wunschor 76e3fa32b4SJoerg Wunsch.Ev PRINTER 77c4d9468eSRuslan Ermilov(with this precedence) 78e3fa32b4SJoerg Wunschare taken as the destination printer. 799b3fe531SPhilippe Charnier.It Fl n Ar num 809b3fe531SPhilippe CharnierSpecify that 81e3fa32b4SJoerg Wunsch.Ar num 82e3fa32b4SJoerg Wunschcopies of each of the named files shall be printed. 8342212752SSheldon Hearn.It Fl o Ar option 8442212752SSheldon HearnPrinter specific options. 8542212752SSheldon HearnNot supported, provided only as a compatibility 8642212752SSheldon Hearnoption for SVR. 8784342240SSheldon Hearn.It Fl s 8884342240SSheldon HearnSilent operation. 8984342240SSheldon HearnNot supported, 9084342240SSheldon Hearnprovided only as a compatibility option for 9184342240SSheldon Hearn.St -susv2 . 929b3fe531SPhilippe Charnier.El 93e3fa32b4SJoerg Wunsch.Sh ENVIRONMENT 94e3fa32b4SJoerg WunschAs described above, the variables 95e3fa32b4SJoerg Wunsch.Ev LPDEST 96e3fa32b4SJoerg Wunschand 97e3fa32b4SJoerg Wunsch.Ev PRINTER 98e3fa32b4SJoerg Wunschare examined to select the destination printer. 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 111726b61abSRuslan Ermilov.An J\(:org Wunsch . 112e3fa32b4SJoerg Wunsch.Sh BUGS 113e3fa32b4SJoerg WunschThe 114e3fa32b4SJoerg Wunsch.St -p1003.2 115e3fa32b4SJoerg Wunschspecification does not provide any means to print non-text files. It 116e3fa32b4SJoerg Wunschrather requires the files to be printed to be text files limited to 117e3fa32b4SJoerg Wunschreasonable line lengths and printable characters. 118