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.\" 34e3fa32b4SJoerg Wunsch.Dd January 22, 1995 35e3fa32b4SJoerg Wunsch.Dt LP 1 36e3fa32b4SJoerg Wunsch.Os 37e3fa32b4SJoerg Wunsch.Sh NAME 38e3fa32b4SJoerg Wunsch.Nm lp 39e3fa32b4SJoerg Wunsch.Nd front-end to the print spooler 40e3fa32b4SJoerg Wunsch.Sh SYNOPSIS 41e97407b4SRuslan Ermilov.Nm 4284342240SSheldon Hearn.Op Fl cs 4342212752SSheldon Hearn.Op Fl o Ar option 449b3fe531SPhilippe Charnier.Op Fl d Ar printer 45e3fa32b4SJoerg Wunsch.Op Fl n Ar num 46e3fa32b4SJoerg Wunsch.Op Ar name ... 47e3fa32b4SJoerg Wunsch.Sh DESCRIPTION 487f94b8deSPhilippe CharnierThe 497f94b8deSPhilippe Charnier.Nm 507f94b8deSPhilippe Charnierutility is a front-end to the print spooler as required by the 51e3fa32b4SJoerg Wunsch.St -p1003.2 5207bfccd7SRuslan Ermilovspecification. 5307bfccd7SRuslan ErmilovIt effectively invokes 54e3fa32b4SJoerg Wunsch.Xr lpr 1 55e3fa32b4SJoerg Wunschwith the proper set of arguments. 56a3e71776SSheldon Hearn.Pp 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 6507bfccd7SRuslan Ermilovlonger required. 6607bfccd7SRuslan ErmilovThe 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. 79a0347c71SBrian Somers.It Fl m 80a0347c71SBrian SomersSend mail upon completion. 819b3fe531SPhilippe Charnier.It Fl n Ar num 829b3fe531SPhilippe CharnierSpecify that 83e3fa32b4SJoerg Wunsch.Ar num 84e3fa32b4SJoerg Wunschcopies of each of the named files shall be printed. 8542212752SSheldon Hearn.It Fl o Ar option 8642212752SSheldon HearnPrinter specific options. 8742212752SSheldon HearnNot supported, provided only as a compatibility 8842212752SSheldon Hearnoption for SVR. 8984342240SSheldon Hearn.It Fl s 9084342240SSheldon HearnSilent operation. 9184342240SSheldon HearnNot supported, 9284342240SSheldon Hearnprovided only as a compatibility option for 9384342240SSheldon Hearn.St -susv2 . 94a0347c71SBrian Somers.It Fl t Ar title 95a0347c71SBrian SomersSet the job title to 96a0347c71SBrian Somers.Ar title . 979b3fe531SPhilippe Charnier.El 98e3fa32b4SJoerg Wunsch.Sh ENVIRONMENT 99e3fa32b4SJoerg WunschAs described above, the variables 100e3fa32b4SJoerg Wunsch.Ev LPDEST 101e3fa32b4SJoerg Wunschand 102e3fa32b4SJoerg Wunsch.Ev PRINTER 103e3fa32b4SJoerg Wunschare examined to select the destination printer. 104e3fa32b4SJoerg Wunsch.Sh SEE ALSO 105e3fa32b4SJoerg Wunsch.Xr lpr 1 106e3fa32b4SJoerg Wunsch.Sh STANDARDS 107e3fa32b4SJoerg WunschThe 1089b3fe531SPhilippe Charnier.Nm 109e3fa32b4SJoerg Wunschcommand is expected to comply with the 110e3fa32b4SJoerg Wunsch.St -p1003.2 111e3fa32b4SJoerg Wunschspecification. 112f12a1471SPhilippe Charnier.Sh AUTHORS 113e3fa32b4SJoerg WunschThis implementation of the 114e3fa32b4SJoerg Wunsch.Nm 115e3fa32b4SJoerg Wunschcommand has been written by 116726b61abSRuslan Ermilov.An J\(:org Wunsch . 117e3fa32b4SJoerg Wunsch.Sh BUGS 118e3fa32b4SJoerg WunschThe 119e3fa32b4SJoerg Wunsch.St -p1003.2 12007bfccd7SRuslan Ermilovspecification does not provide any means to print non-text files. 12107bfccd7SRuslan ErmilovIt 122e3fa32b4SJoerg Wunschrather requires the files to be printed to be text files limited to 123e3fa32b4SJoerg Wunschreasonable line lengths and printable characters. 124