System Administration Guide, Volume 2

Examples--Setting Fault Alerts for a Printer

In the following example, the command sets up the printer mars to send fault alerts by email to a user named joe, with reminders every 5 minutes.


# lpadmin -p mars -A 'mail joe' -W 5

In the following example, the command sets up the printer venus to send fault alerts to the console window, with reminders every 10 minutes.


# lpadmin -p venus -A write -W 10

In the following example, the command stops fault alerts for the printer mercury.


# lpadmin -p mercury -A none

In the following example, the command stops fault alerts until the printer venus has been fixed.


# lpadmin -p venus -A quiet