-
-
Save jrgifford/3835778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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." |
to install:
curl https://gist.github.com/raw/3835778/add-LH-canon.sh | sh
in the terminal. Or we can do some fancy chmoding or something.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to install:
`curl https://gist.github.com/raw/3835778/add-LH-canon.sh | sh" in the terminal. Or we can do some fancy chmoding or something.