You may now add printers to the system using the lpadmin program.

If link reports undefined symbol errors on network spooling programs and suggests that some symbols may be found in system common, you may need to search the $FNDLB library to load the programs. This can happen on systems that search the $FDSLB library by default.

Spooler Administration Tasks

This section provides an outline of the steps necessary to perform common spooler administrative functions.

To add a new printer:

1.Choose a name for the printer (called printer in the examples below). You may wish printer names to be unique throughout your network, such that the same name may be used from any host to access the same printer.

2.Select the appropriate model file to be used for the printer. See the section •HPSupplied Printer Interfaces" for help in choosing a model file.

3.If the printer is a local, directconnect printer, select the LU number at which the printer will be connected.

If it is a remote printer, obtain the 8character remote host name and the name of the printer on the remote host (called rprinter in the example below). The host name must be entered into the /etc/hosts file.

If the new printer is a network peripheral, obtain the 8character network peripheral name (called npname in the example below) and enter that name into the /etc/hosts file.

4.Run lpadmin to add the printer to the LP spooler. The runstring is similar to one of the following:

SFor directconnect local printers:

CI> lpadmin -pprinter-mmodel-vlu

SFor remote printers:

CI> lpadmin -pprinter -mmodel -ormhost -orprprinter

SFor network peripherals:

CI> lpadmin -pprinter-mmodel-ormnpname-orpjetdirect

See the section on the lpadmin program for more information.

5.Once the new printer is ready to print, both the accept and the enable programs must be run. This allows requests to be submitted for the printer and allows the printer to print them. The runstrings are:

LP Spool System 241