HP Printer setup
cups, hplip, python2, sane
cups, hplip, hplip-gui, sane
Some optional dependancies may be needed.
sudo systemctl enable cups sudo systemctl start cups sudo hp-setup
Select “Network”, and “Advanced Options -> Manual Discovery”
cupsenable printer lpstat -p lpadmin -p PrinterName -E
Also since it is a WIFI printer normally it will go into sleep/power save mode. This means if you then try to print from cups it will fail (printer is asleep). Subsequent prints should work but now cupsd has flagged the printer as paused. To prevent this you should configure the default ErrorPolicy in /etc/cups/cupsd.conf by adding in the top scope: