Deskjet 5850 is listed in http://hplip.sourceforge.net/supported_devices/inkjet.html as supported by HPLIP.
-- Cannot configure HPLIP network printers in gnome-cups-manager https://launchpad.net/bugs/25630 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs