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

Removing a Printer Class

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NOTE: When you remove a printer class, the printers in the class are not removed — you may still use them as individual printers. If you remove all printers from a class, that printer class is automatically removed.

You cannot use HP SMH to remove a printer class.

Removing a Printer Class Using HP-UX Commands

See reject(1M), lpmove(1M), lpadmin(1M), and lpsched(1M) for details on the command options.

  1. Ensure that you have superuser capabilities.

  2. (Optional) Deny any further print requests for the printer class. For example:

    # /usr/sbin/reject -r"Use alternate printer." laser
  3. (Optional): Determine if there are any jobs in the printer class’s queue. For example:

    # /usr/bin/lpstat -o laser
  4. (Optional) Move all pending print requests in the request directory for the printer class to another printer or printer class. For example:

    # /usr/sbin/lpmove laser laser2
  5. Remove the printer class. For example:

    # /usr/sbin/lpadmin -xlaser
  6. Start the LP spooler if it is not already running:

    # /usr/sbin/lpsched
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.