Log in as superuser, lp, or assume an equivalent role on the print server.
# lpadmin -p printer-name -c printer-class |
Specifies the name of the printer you are adding to a class of printers.
Specifies the name of a class of printers.
Verify that the printers are in a printer class.
# lpstat -c printer-class |
The following example shows how to add the printer luna in the printer class roughdrafts.
# lpadmin -p luna -c roughdrafts |