System Administration Guide, Volume 2

Setting Up a Print Client

A print client is a system that is not the server for the printer, yet has access to the printer. A print client uses the services of the print server to spool, schedule and filter the print jobs. Note that one system can be a print server for one printer and be a print client for another printer.

Access to a printer can be configured on a domain-wide basis or on a per-machine basis depending on whether you add the printer information to the name service database.

The following sections describe how to use the new Solaris Print Manager to add access to a printer on a print client. The example that follows this procedure describes how to add printer access with LP commands.

How to Add Printer Access With Solaris Print Manager

  1. Start Solaris Print Manager on the system where you want to add access to a remote printer.

    See "How to Start Solaris Print Manager" for instructions.

  2. Select Add Access to Printer from the Printer menu.

    The Add Access to Printer window is displayed.

  3. Fill in the window.

    If you need information to complete a field, click the Help button.

  4. Click OK.

  5. Verify that access to the printer is added by checking for the new printer entry in the Solaris Print Manager main window. Verify the printer can print requests by using the following command:


    $ lp -d printer-name filename
    
  6. Exit Solaris Print Manager.

    Choose Exit from the Print Manager Menu.

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
		printer luna is idle. enabled since Jul 12 11:17 1999. available.
  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.