DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Advanced printer configuration

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) 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 a form''.

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:

lpforms -f form_name -A alert_method -Q number -W minutes


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

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:

lpforms -f check -A mail -Q 2 -W 5

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

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:

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

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.

See also:


Next topic: Setting printer port characteristics
Previous topic: Specifying a printer fault recovery mechanism

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004