HP-UX System Administrator's Guide: Configuration Management
To add a printer to the spooler, see “Adding a Local Printer to the LP Spooler” (page 112),
“Adding a Remote Printer to the LP Spooler” (page 113) or “Adding a Network Printer
with HP JetDirect” (page 116).
Starting and Stopping Spooler Using Text-Based HP SMH
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 Stop Print Spooler to stop the spooler.
• Choose Start Print Spooler to start the spooler.
Starting and Stopping Spooler Using HP-UX Commands
• To start the LP spooler:
# /usr/sbin/lpsched
• To stop the LP spooler:
# /usr/sbin/lpshut
Adding a Local Printer to the LP Spooler
NOTE: Do not confuse adding a printer to the LP spooler with adding a printer to
your system. Adding a printer to the LP spooler involves configuring the LP spooler.
Adding a printer to your system involves connecting the printer to your computer and
configuring the needed drivers in the kernel. For information on the latter, see the
Interface Card OL* Support Guide.
Adding a Local Printer Using HP SMH
The easiest way to add a local printer to the LP spooler is to run HP SMH. HP SMH
will also do some of the CDE configuration (if CDE is being used).
Adding a Local Printer Using HP-UX Commands
1. Ensure that you have superuser capabilities.
2. Add the printer to the LP spooler. For example:
# /usr/sbin/lpadmin -plocal_printer -v/dev/lp -mHP_model -g7
See lpadmin(1M) for details on the options. Also see the HP-UX System
Administrator’s Guide: Overview for model information for the -m option.
112 Configuring Printers