In the following example, the command adds the printer luna in the class roughdrafts.
# lpadmin -p luna -c roughdrafts