HP-UX System Administrator's Guide: Configuration Management

3. If the printer being added will be the default printer, execute the following:
# /usr/sbin/lpadmin -dlocal_printer
Allow print requests to be accepted for the newly added printer. For example:
# /usr/sbin/accept local_printer
4. Enable the newly added printer to process print requests. For example:
# /usr/bin/enable local_printer
5. Start the LP spooler if it is not already running:
# /usr/sbin/lpsched
6. Test the printer using the LP spooler, then check the LP spoolers status. For
example:
# lp -dlocal_printer /etc/motd
# lpstat -t
Adding a Remote Printer to the LP Spooler
The easiest way to add a printer to a remote system is to run HP SMH. If you elect to
use HP-UX commands, review Step 5 underAdding a Remote Printer Using Text-Based
HP SMH”, as this information will also be required when performing the task manually.
Adding a Remote Printer Using Text-Based HP SMH
NOTE: HP SMH does not verify that an actual printer exists on a remote system. Be
sure the printer is installed and configured, and if necessary, use HP SMH to configure
it on the remote system before adding it as a remote printer.
1. As a privileged user, start text-based HP SMH. See“Starting Text-Based HP SMH”
(page 30). You can invoke it with or without the X Window interface.
2. Press p, Printers and Plotters.
3. Highlight and select Printers and Plotters.
An X Window or graphical text screen is displayed.
4. From the Action pulldown menu, choose Add Remote Printer/Plotter.
5. Provide information for the following data fields:
Printer Name
The name you will use on this system.
Remote System Name
The full domain name of the system that hosts the printer.
Remote Printer Name
The name of the printer as it is known on the remote system.
Adding a Remote Printer to the LP Spooler 113