HP-UX System Administrator's Guide: Routine Management Tasks
Initializing the LP Spooler
Before you can use the LP spooler, you must initialize it.
Using HP SMH
If you use HP SMH to add a printer, it will prompt you to initialize the LP spooler.
Using HP-UX Commands
You can use HP-UX commands to initialize the LP spooler by following these steps:
1. Add at least one printer to the LP spooler.
See “Adding a Local Printer to the LP Spooler ” (page 170).
2. Tell the LP spooler to accept print requests for this printer.
Using the plumbing system analogy in HP-UX System Administrator’s Guide:
Overview, this is equivalent to opening the accept/reject valves above the holding
tanks. See also“Controlling the Flow of Print Requests” (page 164).
3. Tell the LP spooler to enable the printer for printing.
In the plumbing system analogy, this is equivalent to opening the enable/disable
valves below the holding tanks. See HP-UX System Administrator’s Guide: Overview.
4. Turn on the LP spooler.
See “Stopping and Restarting the LP Spooler ” (page 163).
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,
whereas 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, refer to Configuring HP-UX for Peripherals.
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) and some of the
SharedPrint configuration (if you are using a SharedPrint printer model).
Using HP-UX Commands
1. Ensure that you have superuser capabilities.
2. Stop the LP spooler:
/usr/sbin/lpshut
For more information, see “Stopping and Restarting the LP Spooler ” (page 163).
170 Managing Printers