System Administration Guide: Printing

ProcedureHow to Set an Alert to Mount a Print Wheel or Font Cartridge

  1. On the print server, become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Set an alert to mount a print wheel or font cartridge.


    # lpadmin -S hard-charset -A alert [-Q requests] [-W minutes]
    -S hard-charset

    Specifies the hardware character set name of the print wheel or font cartridge for which you want to set an alert.

    -A alert

    Specifies what kind of alert will occur when a print wheel or font cartridge is requested. For detailed information about the valid values for alert, see Table 6–5. Some valid values are mail, write, and quiet.

    If you specify mail or write, a predefined alert message says to mount the specified print wheel or font cartridge. The message includes the names of one or more printers that have been set up to use such a print wheel or font cartridge.

    -Q requests

    Specifies the number of print requests that require the print wheel or font cartridge that must be in the queue before an alert occurs. If you don't specify this option, only one print request in the queue triggers an alert.

    -W minutes

    Specifies how often (in minutes) the alert occurs If you don't specify this option, the alert is sent one time.

    For more information, see the lpadmin(1M) man page.

    The alert is added to the print server's /etc/lp/pwheels/charset-name/alert.sh file.

  3. Verify that the alert has been added for the print wheel or font cartridge by checking the output of the following command.


    # lpadmin -S hard-charset -A list
    

    Alternately, if you have set a low number of print requests to trigger the alert, submit enough print requests to meet the minimum requirements. Ensure that you receive an alert to mount the print wheel or font cartridge.


Example 10–3 Setting an Alert to Mount a Print Wheel

The following example shows how to set email alerts to occur every 5 minutes for the elite print wheel when the print queue contains 10 print requests for the elite.


# lpadmin -S elite -A mail -Q 10 -W 5


Example 10–4 Setting an Alert to Mount a Font Cartridge

The following example shows how to set email alerts to occur every minute for the finnish font cartridge when the print queue contains 5 print requests for the finnish.


# lpadmin -S finnish -A mail -Q 5 -W 1


Example 10–5 Setting Up No Alerts for a Print Wheel

The following example shows how to set up no alerts for the elite print wheel.


# lpadmin -S elite -A none