Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX System Administrator's Guide: Configuration Management: HP-UX 11i Version 3 > Chapter 6 Configuring Printers

Adding a Local Printer to the LP Spooler

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

  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 spooler’s status. For example:

    # lp -dlocal_printer /etc/motd # lpstat -t
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.