System Administration Guide, Volume 2

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(1M) 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 5-4 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