Sunday, April 22, 2012

Ubuntu Printer /usr/lib/cups/backend/hp failed



Error

"/usr/lib/cups/backend/hp failed"

While printing test page on an HP printer


Solution

1- Create lpadmin group/add your user to that group

    groupadd lpadmin
    usermod -aG lpadmin 

2- Delete printer from gnome printer settings ( application > Printing )

3- Unplug the printer

4- Restart cups

       sudo service  cups restart

5- Plug the printer back

It worked for me







2 comments:

  1. Giving /usr/lib/cups/backend a nifty chmod 755 did the trick for me. Exasperating!

    ReplyDelete
  2. After doing it and trying to print a test page I get this error saying "cups-insecure-filter".

    Executing these commands solved the problem after uninstall & reinstall of my HP C7280:

    sudo chown -hR root /usr/lib/cups/filter
    sudo chown -hR root /usr/lib/cups/backend
    sudo chgrp -hR root /usr/lib/cups/filter
    sudo chgrp -hR root /usr/lib/cups/backend

    THANKS

    ReplyDelete