Having installed HPLIP on my 10.10 system, the HP Photosmart 420 gives "Device Communication Error" code 5012 when I try to print. Running hp-check lists 11 missing dependencies. Do I have to install them all one by one or is there an easier way to get the printer going? What is the command to install a dependency?

On a side note, your system should have all required dependencies for hplip already installed if you installed it from the Ubuntu repos through the package management tool of your choice. Or did you install it from elsewhere?
–
Christopher Kyle HortonMar 6 '12 at 16:51

I installed hplip as indicated but it still says missing dependancies. When I tried installing the first missing dep. ie "CUPS devel" it could not find said dependancy.
–
RoscoMar 7 '12 at 17:00

are you able to give us the print from terminal as to the error message
–
RingtailMar 7 '12 at 17:04

Thanks for the info BlueXrider. When I do that I get this:Could not open the file /home/mystuff/Downloads/hplip-3.12.2.run using the Unicode (UTF-8) character encoding.Which char encoding do I need?
–
RoscoMar 9 '12 at 12:17

I also had this problem. The way for this to work is to install the hplip toolbox from the software center. Then sudo hp-toolbox and then you should be able to install the correct plugin. In fact if you type hp- then tab you should see a bunch of for HP printers.

hplip is not a dependency, it's the package that contains hp-check and other utilities. The dependencies such as "CUPS devel", "Python devel", "PyQt4" and so on can be installed using the following command for Ubuntu 10.04 and up, according to current info from link above (but I recommend checking for updated info):