Add a user to the Print Operator group

To add a non administrative user to the Print Operators group, you need to enter the following command into a Terminal window

sudo dseditgroup -o edit -u ADMINISTRATOR -p -a USER -t user _lpadmin

You will need to replace ADMINISTRATOR with the shortname of an admin account & you will need to replace USER with the shortname of the account you wish to add to the print operators group

when you hit enter then you will be prompted for your admin password, so enter that, but you will then be prompted “Please enter user password”, enter the password associated with the admin account mentioned in the command

To check if the user has been added to the Print Operators group then enter the following into a Terminal window

dscl . -read /Groups/_lpadmin GroupMembership

HP Printer Drivers v2.10 update – crashes when printing

So, if you’ve recently updated your HP Drivers to version 2.10 then you may have noticed that when you try and print a document that it crashes the application that you are trying to print from.
To rectify this, you need to do the following

Click on Finder

Click on ‘Go’ in the menubar

Click on ‘Go to Folder’

Paste the following location

/Library/Printers/hp/PDEs

CTRL click on the ‘hpPostScriptPDE.plugin’

Click on ‘Show Package Contents’

Click on ‘Contents’

Delete the PlugIns folder

Now try printing a document, you should find that it now works as expected.

Image Capture Extension error

If you are getting this error on 10.7

“Image Capture Extension is trying to modify the printer settings, Type the name and password of a user in the Print Administrators group to allow this”

it is most likely down to the User not running as admin, with a scanner connected to the machine

the simple way of resolving this is to add the User with the problem to the _lpadmin group

to do this, open Terminal and type the following

dseditgroup -o edit -p -a usershortname -u adminshortname -t user _lpadmin

replace usershortname with the short name of the account having the problems and replace adminshortname with the short name of an admin account that you know the password to

once you hit enter it will say ‘Enter User Password’, but you MUST enter the password of the admin account you entered in the command

to verify that this has worked type the following into Terminal

dseditgroup _lpadmin

Check the group membership values at the bottom of the info that it shows and you should have all the admin accounts from the machine and the user account that you just added to the group

Hidden printer options

Now the default printer options in the System Preferences Pane are not that extensive, so to get access to a range of extra options you can access the CUPS conifguration pages you need to do the following:

Open a web browser

Enter http://localhost:631 into the address bar

hit enter and you will have access to a bigger range of printer options

Enable Users to resume printers

If you are having an issue where your users printers keep on getting paused, then you will want to make use of the following solution

You will need to edit the cupsd.conf file, this is located in /etc/cups/

You will need to be in an admin account, or if in a users account then su into an admin account

Then open a Terminal and type the following

sudo nano /etc/cups/cupsd.conf

Now look for the following section

# All administration operations require an administrator to authenticate…
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

Now comment this out or delete it, entirely up to you, but I prefer the to comment it out as a fall back option in the event of an error

Now add the following section just under the commented section

# Allow non-admin users to add printers
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
Require valid-user
Order allow, deny
Allow all
</Limit>

Now find the following section and comment it out

# All printer operations require a printer operator to authenticate…
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @AUTHKEY(system.print.operator) @admin @lpadmin
Order deny,allow
</Limit>

Now add the following section under the commented section

# Allow non-admin users to pause and resume printers
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
Require valid-user
Order allow, deny
Allow all
</Limit>

Press CTRL-X, then press Y, then press ENTER to save the file
THIS KEY COMBINATION WILL OVERWRITE THE EXISTING CUPSD.CONF FILE!

Now log in to a user account, and test this by pausing a printer and trying to resume it, if all has been done correctly then this should resume the printer with no issues.