I tried the solution of @N0rbert but I got errors when trying to run hp-setup utility. So I ended up by adding the printer via the web interface instead: (http://127.0.0.1:631/). This worked for me.
P.S.
There is a main step before reaching this one (and which is not covered by my question, of course) and it consists in installing the Common UNIX Printing System by running: sudo apt install cups
You will need to get drivers for this printer... With this being said, After performing a quick search on "HP Envy 4526 printer Linux drivers," I was able to find some drivers here Here... With this being said, it looks like you have to again choose your printer then choose your drivers... Then they should download and most likely they have you run something like:
I think you should install
hplip-gui
package withsudo apt-get install hplip-gui
and add your printer from here.According to HP page Envy 4520 Series are fully supported since 3.15.1 (16.04 LTS xenial has 3.16.3+repack0-1).
After installation you can launch HP utility from terminal as
hp-toolbox
or from GUI as HPLIP Toolbox.I tried the solution of @N0rbert but I got errors when trying to run
hp-setup
utility. So I ended up by adding the printer via the web interface instead: (http://127.0.0.1:631/
). This worked for me.P.S.
There is a main step before reaching this one (and which is not covered by my question, of course) and it consists in installing the Common UNIX Printing System by running:
sudo apt install cups
Search it
You will need to get drivers for this printer... With this being said, After performing a quick search on "HP Envy 4526 printer Linux drivers," I was able to find some drivers here Here... With this being said, it looks like you have to again choose your printer then choose your drivers... Then they should download and most likely they have you run something like:
dpkg -i driver_Name_here
And then finally they should be all setup!
Good luck