on linux you need to install cups and hplip. it should just work. the HPlip gui is buggy, don't install it. you don't even need it.