I have been using my HP Envy 4500 with my laptop running Ubuntu as the only OS for years now. The printer is connected via WiFi to my Fritzbox modem with a fixed IP address and I am running Ubuntu 19.10 on the laptop. I do not print a lot, maybe a couple of times a week. Sometimes the printer prints but just as often as not I get the message "Error connecting to printer". This is the log entry when it doesn't print:
prnt/backend/hp.c 824: ERROR: open device failed stat=12: hp:/net/ENVY_4500_series?hostname=HPXXXXXXXXXXXX.local
One other thing, when I boot-up I get an error message from HPLIP Status Service saying:
No system tray detected on this system. Unable to start, exiting.
hplip
andhplip-gui
installed? How did you install them? What is your desktop environment? – N0rbert Feb 07 '20 at 19:34