lpadmin
Add a network printer with command line lpadmin -p Test_Printer_Name -L "Printer Location" -E -v lpd://10.1.20.26 -P "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /PrintCore.framework/Versions/A/Resources/Generic.ppd" Remove Printer from command line /usr/sbin/lpadmin -x printernamehere