Is there a way that we can delete printer that user added? we have a open directory that teacher can pick what printer they want to add. now we have new system that only uses one virtual printer, and we already push that one using LPD. what we want to happen is to remove all printer that they add and only printer one printer will stay the one that we push.
Solved
Deleting Printer
Best answer by franton
Removing all printers from a Mac before adding new ones can be done with this script.
#!/bin/bash
lpstat -p | awk '{print $2}' | while read printer
do
echo "Deleting Printer:" $printer
lpadmin -x $printer
doneEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




