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

Creating a Printer Class

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

A printer class is created when you assign the first printer to it with HP SMH or the lpadmin command. For information on what printer classes are, see HP-UX System Administrator's Guide: Overview.

You can assign a local printer or a network printer to a class.

You cannot assign a remote printer to a local printer class. However, you can create the class on the remote system and designate the class name as a remote printer on the local system.

You can use HP SMH to add a printer to a printer class when the printer is being added to the spooler; otherwise, you must use HP-UX commands.

Creating a Printer Class Using HP-UX Commands

To use HP-UX commands, follow these steps after several printers have been added to the LP spooler:

  1. Ensure that you have superuser capabilities.

  2. Create the printer class, specifying a printer you want to add to the class of printers.

    For example, to add a printer named laser1 to the class of printers named laser, enter:

    # /usr/sbin/lpadmin -plaser1 -claser

    Only one printer can be added to a class at a time. If you have more than one printer to add, repeat this command.

  3. Allow print requests to be accepted for the newly added printer class. For example:

    # /usr/sbin/accept laser
  4. 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.