GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LP(1) FreeBSD General Commands Manual LP(1)

lp
front-end to the print spooler

lp [-cs] [-o option] [-d printer] [-n num] [name ...]

The lp utility is a front-end to the print spooler as required by the IEEE Std 1003.2 (“POSIX.2”) specification. It effectively invokes lpr(1) with the proper set of arguments.

It generally prints the named files on the destination printer.

The following options are available:

Make the lp command exit only after further access to any of the input files is no longer required. The application can then safely delete or modify the files without affecting the output operation.
dest
Specify a particular printer. If no -d is provided on the command line, the contents of the environment variables LPDEST or PRINTER (with this precedence) are taken as the destination printer.
Send mail upon completion.
num
Specify that num copies of each of the named files shall be printed.
option
Printer specific options. Not supported, provided only as a compatibility option for SVR.
Silent operation. Not supported, provided only as a compatibility option for Version 2 of the Single UNIX Specification (“SUSv2”).
title
Set the job title to title.

As described above, the variables LPDEST and PRINTER are examined to select the destination printer.

lpr(1)

The lp command is expected to comply with the IEEE Std 1003.2 (“POSIX.2”) specification.

This implementation of the lp command has been written by Jörg Wunsch.

The IEEE Std 1003.2 (“POSIX.2”) specification does not provide any means to print non-text files. It rather requires the files to be printed to be text files limited to reasonable line lengths and printable characters.
January 22, 1995 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.