This can be solved by $ sudo hp-setup by installing the printer using sudo and the terminal the printer works I have the exact same model and it works by doing this
-- HP LaserJet P1005 (using hplip) fails to print in 8.04 and 9.04 https://bugs.launchpad.net/bugs/365329 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs