$ 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.