Solaris Advanced User's Guide

Submitting Print Requests to the Default Printer

When your system administrator sets up the LP print service with a default printer, you can submit print requests without typing the name of the printer by typing the following command.

$ lp filename

In the previous example, 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/profile file, type the following command.

$ lp /etc/profile
request id is jetprint-1 (1 file)

See System Administration Guide: Advanced Administration for information on how to specify a default printer.