OpenWindows Advanced User's Guide

8.1.1 Submitting Print Requests to the Default Printer

When the LP print service is set up with a default printer, you can submit print requests as follows without typing the name of the printer:

$ lp filename

where filename is the name of the file you want to print.

The specified file is placed in the print queue of the default printer, and the request id is displayed.

For example, to print the /etc/passwd file, type:

$ lp /etc/passwd
request id is pinecone-8 (1 file)

See System Administration Guide, Volume II for information on how to specify a default printer.