System Administration Guide

How to Set Printer Fault Recovery

  1. Log in as superuser or lp on the print server.

  2. Set up fault recovery for the printer with the lpadmin command.


    # lpadmin -p printer-name -F recovery-options
    
    -p printer-name
    

    Name of the printer for which you are specifying fault recovery. 

    -F recovery-options
    

    One of the three valid recovery options: 

    -beginning, -continue, or -wait.

    See Table 42-3 for detailed information about the valid values for recovery-options.

    The fault recovery setting is entered in the print server's /etc/lp/printers/printer-name/configuration file.

  3. Check the information following the After fault heading in the output of the following command.


    $ lpstat -p printer-name -l
    

Example--Setting Printer Fault Recovery

In the following example, the command sets up the printer luna to continue printing at the top of the page where printing stopped.


# lpadmin -p luna -F continue