|
|
The print service provides a method for detecting and alerting you to printer faults. Faults can range from simple problems, such as running out of paper, ribbon, or toner, to more serious faults, such as a local power failure or printer failure. The range of fault indicators is also broad, ranging from dropping the carrier (the signal that indicates that the printer is online) to sending an XOFF or a message.
The print service itself only recognizes two classes of
printer fault indicators:
``hangups'' (a loss of carrier)
and excessive delays in printing
(an XOFF flow-control character without a matching XON).
For faults other than these, the printer service cannot determine
the cause of the fault, so it cannot alert you.
However, you can add filters that can detect other printer faults
and inform the print service, which in turn alerts you.
See
``Detecting printer fault indicators with filters''.
To set up printer fault alerts for a printer in the Printer Manager:
The print service runs the command you specify using the shell environment currently in effect when you start the Printer Manager. This environment includes environment variables, user and group IDs, and the current directory.
If, after you have fixed a fault but before the print service tries to print another file, the printer faults again or if your attempt to fix the fault did not succeed, you are not notified. Receiving repeated alerts per fault or requiring manual reenabling of the printer overcomes the problem. Refer to ``Specifying the print fault recovery method'' for more information.
See also:
To specify how the print service recovers once the printer is ready for printing again after detecting a printer fault, in the Printer Manager select Advanced from the Settings menu, then select Faults. Choose the ``Fault Recovery'' method:
If you do not specify how the print service is to resume after a printer fault, the print service tries to continue at the top of the page where printing stopped (if the appropriate filter exists). Failing that, the print service restarts printing at the beginning of the print job.
See also:
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: