Alerting to mount forms and font cartridges
If you have printers that accept changeable font cartridges
and you have listed the font cartridges allowed on each,
users can submit a print request to use a particular font cartridge.
However, if the font cartridge is not mounted
when a user requests to use it,
the job waits in the queue until you mount the font cartridge.
See
``Specifying font cartridges to use with a printer''.
If a form (or font cartridge or print wheel)
is not mounted when you print a file
and specify that form, the job waits in the queue until
you mount the appropriate form.
See
``Mounting and unmounting forms''.
In these cases, you might want to set up the print system to alert you when you need to mount a form. You can specify that you are to receive alerts when the number of requests waiting for a font cartridge or form exceeds some threshold.
To arrange for alerting to the need to mount a form, enter:
/usr/lib/lpforms -f form_name -A alert_method -Q number -W minutes
For example, to direct the print service to send electronic mail
alerts every 5 minutes whenever the printer queue contains
2 or more requests for the check form and it is not
already mounted, enter:
/usr/lib/lpforms -f check -A mail -Q 2 -W 5
To arrange for alerting to the need to mount a
font cartridge, enter:
/usr/lib/lpadmin -S font_cartridge_name -A alert_method -Q number -W minutes
For example, to direct the print service to write alerts to your terminal
every 2 minutes whenever the printer queue contains three or more
requests for the dingbat font cartridge
and it is not already mounted, enter:
/usr/lib/lpadmin -S dingbat -A write -Q 3 -W 2
To arrange for alerting whenever the queue contains requests
for any form or font cartridge (print wheel), enter one of the following:
/usr/lib/lpforms -f any -A mail -W 5
/usr/lib/lpadmin -S any -A mail -W 5
To stop receiving alert messages to mount a form, font cartridge,
or print wheel, enter one of the following:
/usr/lib/lpforms -f form_name -A quiet
/usr/lib/lpadmin -S font_cartridge_name -A quiet
/usr/lib/lpadmin -S printwheel_name -A quiet
To remove alerting when a form, font cartridge,
or print wheel needs to be mounted,
enter one of the following:
/usr/lib/lpforms -f form_name -A none
/usr/lib/lpadmin -S font_cartridge_name -A none
/usr/lib/lpadmin -S printwheel_name -A none
If you do not define an alert method for a form, font cartridge, or print wheel, 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.
See also: