System Administration Guide: Printing

ProcedureHow to Define a Class of Printers by Using LP Print Commands

  1. Log in as superuser, lp, or assume an equivalent role on the print server.

  2. Define a class of printers.


    # lpadmin -p printer-name -c printer-class
    
    -p printer-name

    Specifies the name of the printer you are adding to a class of printers.

    -c printer-class

    Specifies the name of a class of printers.

  3. Verify that the printers are in a printer class.


    # lpstat -c printer-class
    

Example 6–5 Defining a Class of Printers

The following example shows how to add the printer luna in the printer class roughdrafts.


# lpadmin -p luna -c roughdrafts