#!/bin/sh echo "When prompted to, please enter in your password." sudo cp /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/GenericPrinter.ppd /usr/share/cups/model/GenericPrinter.ppd sudo lpadmin -p Canon_D1170 -E -v http://192.168.100.241:631/printers/Canon_D1170 -m GenericPrinter.ppd echo "All done! You can now print to the Canon from this computer" echo "You can now close this window."