Posted on 08-10-2020 03:17 PM
I recently was successful in adding printers through Jamf/Confguration Profiles. Unfortunately, while trying to send a job, I get the dialog box saying "Microsoft Word is trying to print to a locked printer".
When I look on the System Preferences the printer setup seems fine but when I open up Microsoft or Preview to print something I get that error and can see that there is a padlock next to all the printers.
Our printer setup uses Pharos in a large computer lab. I am fairly new to being an admin so I'm not sure how else to proceed.
I put this script as a fix in Self Service and when a new user logs in to try and fix it.
#!/bin/sh
/usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group lpadmin
/usr/bin/sudo /usr/bin/security authorizationdb write system.preferences allow
/usr/bin/sudo /usr/bin/security authorizationdb write system.preferences.printing allow
/usr/bin/sudo /usr/bin/security authorizationdb write system.print.operator allow