CI> accept printer

CI> enable printer

6.If you wish the new printer to be the system default destination, enter:

CI> lpadmin -dprinter

To add a remote printer on an HPUX system that accesses a printer on the HP 1000 (these steps are performed on the HPUX machine):

1.You are encouraged to use the sam (System Administration Manager) program to add the printer. The appropriate model file name is rmodel. The following steps apply if sam is not used.

2.Obtain the 8character remote host name of the HP 1000 (called host in the example below) and the name of the printer on the HP 1000 (called rdest in the example below). The host name must be recognized by the HPUX system by entering it into the /etc/hosts file or adding it to the DNS database.

3.Shut down the printer scheduler by entering:

$ lpshut

This will abort any printing requests, so you may wish to wait for any activity to complete.

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

$ lpadmin -ppr-v/dev/null -mrmodel -ormhost-orprdest-ocmrcmodel -osmrsmodel

where:

pr is the name of the remote printer on the HPUX system. host is the name of the RTE system.

rdest is the name of the remote destination (printer) on the RTE system.

See the documentation on the HPUX spooler for more information. Note that the last two options are not specified on older HPUX revisions.

5.Once the remote printer is ready to print, both the accept and the enable programs must be run. This allows requests to be submitted for the remote printer and allows the HPUX host to send requests to the HP 1000. The runstrings are:

$ accept printer $ enable printer

6. If you wish the new remote printer to be the system default destination, enter:

$ lpadmin -dprinter

7. Restart the LP scheduler by entering:

242 LP Spool System