Setting up alerts to mount forms and font cartridges

You can set up alerts to mount forms and font cartridges.

To arrange for alerting to the need to mount a form, enter:
lpforms -f form_name -A alert_method -Q number -W minutes
To arrange for alerting to the need to mount a font cartridge, enter:
lpadmin -S font_cartridge_name -A alert_method -Q number -W minutes

Setting up alters

Item Descriptor
alert_method alerting method to use (mail, write, or a desired command)
number number of waiting requests to restart alerting
minutes number of minutes between alerts

If you do not define an alert method for a form or font cartridge, you do not receive an alert for it. If you define a method, but do not define the number of minutes between alerts (with the -W option), you receive one alert for each occasion.

  • To direct the print service to send electronic mail alerts every five minutes whenever the printer queue contains two or more requests for the check form and it is not already mounted, enter:
      lpforms -f check -A mail -Q 2 -W 5
  • To direct the print service to write alerts to your terminal every two minutes whenever the printer queue contains three or more requests for the dingbat font cartridge and the dingbat font cartridge is not already mounted, enter:
      lpadmin -S dingbat -A write -Q 3 -W 2
  • To arrange for alerting whenever the queue contains requests for any form or font cartridge, enter one of the following:
      lpforms -f any -A mail -W 5
    
      lpadmin -S any -A mail -W 5
  • To stop receiving alert messages to mount a form or font cartridge, enter one of the following:
      lpforms -f form_name -A quiet
    
      lpadmin -S font_cartridge_name -A quiet
  • To remove alerting when a form or font cartridge needs to be mounted, enter one of the following:
      lpforms -f form_name -A none
    
      lpadmin -S font_cartridge_name -A none