System Administration Guide

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 may be a print server for one printer and be a print client for another printer.

Access to a remote printer may be configured on a domain-wide basis or on a per-machine basis. A combination of these two may also be used. To add access to a remote printer on a per machine basis see "How to Add Printer Access on the Print Client Using Admintool" or "How to Add Access on the Print Client using LP Commands". To add access on a domain wide basis, follow the instructions under "Adding Access to a Remote Printer Using a Name Service". See also printers.conf(4), printers(4), and lpset(1M).

How to Add Printer Access on the Print Client Using Admintool

  1. Start Admintool on the system where you want to add access to a remote printer.

    See the procedure on "" for detailed information.

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

    The Add Access to Remote Printer window is displayed.

  3. Fill in the window.

    If you need information to complete a field, click on the Help button to see field definitions for this window.

  4. Click on OK.

    The printer is displayed in the Admintool Printers window.

  5. Exit Admintool.

    Click on button in upper-left corner; select quit.

Example--Adding Printer Access on the Print Client

In the following example, the print client rogue is given access to the printer rocket on the print server enterprise.

Graphic

How to Add Access on the Print Client using LP Commands

  1. Collect the required information.

    All that is required is the name of the printer and the name of the server for that printer.

  2. Define the printer by using the lpadmin command.

    # lpadmin -p printer_name -s server_name
    
  3. (Optional) Add a description to the printer.

    # lpadmin -p printer_name -D "description"
    
  4. Verify the printer is correctly configured by using the lpstat command.


    #	lpstat -p printer-name
     
    

Example--Adding Access on the Print Client using 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.


 [Identifies the printer and the print server.] # lpadmin -p luna -s saturn
 [Adds a description for the printer.] # lpadmin -p luna -D "Room 1954 ps"
 [Sets the printer as the system's default printer destination.] # lpadmin -d luna
 [Verifies that the printer is ready.] # lpstat -p luna
		printer luna is idle. enabled since Jun 24 18:30 1996. available.