LPRng Reference Manual: 24 Sep 2004 (For LPRng-3.8.28)
Prev | Chapter 4. Print Spooling Tutorial | Next

# 4.4. Restoring Original Configuration

To restore the original configuration, you simply need to restore the original `printcap` and `lpd.perms` file and then restart the lpd server. These operations require ROOT permissions.

        h4: {96} # su
        h4: {97} # cd /etc    OR    cd /usr/local/etc
        h4: {98} # mv printcap.orig printcap
        h4: {99} # mv lpd.perms.orig lpd.perms
        h4: {100} # checkpc -f
        h4: {101} # lpc reread
        h4: {102} # rm -rf /var/spool/lpd/lp /var/spool/lpd/lp2
        h4: {103} # rm -f /tmp/lp /tmp/lp2

Prev | Home | Next
Setting Up the Tutorial Configuration | Up | Printing a File and Checking Status