 |
» |
|
|
 |
 |  |  |  |  | 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 |  |
Ensure
that you have superuser capabilities. 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. 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 |
Enable
the newly added printer to process print requests. For example: # /usr/bin/enable local_printer |
Start
the LP spooler if it is not already running: Test
the printer using the LP spooler, then check the LP spooler’s
status. For example: # lp -dlocal_printer /etc/motd
# lpstat -t |
|