-
Notifications
You must be signed in to change notification settings - Fork 3
jstrunk/browsecups
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
browsecups.py connects to a remote CUPS server, retrieves its printer list, and tries to add the printer locally with a locally installed driver.
Usage
-----
browsecups.py servername
To run without interaction, ./browsecups.py requires the following preferences to be defined in the edu.utexas.ma.browsecups domain:
server - The hostname of your CUPS server.
username - A user on the local machine who can use the CUPS web administration interface.
password - That user's password
The easiest way to create this is to run the following commands as root:
defaults write edu.utexas.ma.browsecups server hostname
defaults write edu.utexas.ma.browsecups username administrator
defaults write edu.utexas.ma.browsecups password xxxx
This will create /var/root/Library/Preferences/edu.utexas.ma.browsecups.plist
Precedence for preferences follows:
- MCX
- /var/root/Library/Preferences/edu.utexas.ma.browsecups.plist
- /Library/Preferences/edu.utexas.ma.browsecups.plist
Requirements
------------
The only 3rd party module this uses is pycups.
About
Automatically add all CUPS shared printers to a Mac OS X system.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published