System Administration Guide: Advanced Administration

Example—Adding Printer Access With LP Commands

If you want to print to a remote printer, you must add access to the remote printer. This example shows how to configure access to a printer named luna, whose print server is saturn. The system saturn becomes a print client of the printer luna.


# lpadmin -p luna -s saturn 1
# lpadmin -p luna -D "Room 1954 ps" 2
# lpadmin -d luna 3
# lpstat -p luna 4
  1. Identifies the printer and the print server.

  2. Adds a description for the printer.

  3. Sets the printer as the system's default printer destination.

  4. Verifies that the printer is ready.