sudo apt install hplip hplip-gui hp-setup 192.168.1.13 # Use the IP of your device # src: https://www.cyberciti.biz/faq/how-to-install-networked-hp-printer-and-scanner-on-ubuntu-linux/