[Next] [Previous] [Up] [Top] [Contents]

25.2.4 Printer Configuration

25.2.4.3 Removing a Local Printer

To remove a local printer from the print service do the following.

1. Suspend the queue from accepting new requests
# reject -r "printer printer_name is down" printer_name
where
-r indicates a reason for removing the printer (displayed by lpstat)

Stop printing by disabling the printer
# disable -W -r "printer printer_name is down" printer_name
where some options to disable are:
-W specifies to wait until the current request if finished printing
-c specifies to cancel the current printing request
-r indicates a reason for removing the printer

Remove the printer from the print service
# lpadmin -x printer_name


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]