I have tested this in 10.5. This will remove all printers that are listed in system preferences.
Create a script file:
############Being Copy Here #############
lpstat -p | awk '{print $2}' | while read printers
do
lpadmin -x $printers
done
############End Copy Here #############