Remove All Printer Script

I have tested this in 10.5. This will remove all printers that are listed in system preferences.

############Being Copy Here #############

 

lpstat -p | awk '{print $2}' | while read printers

do

lpadmin -x $printers

done

############End Copy Here #############

Tags

  • Apple
  • Macbook
  • SSD

Categories

  • Hints 56