0. The most important thing to install the ubuntu printer is to install the driver, https://developers.hp.com/hp-linux-imaging-and-printing
Click Download HPLIP to get the driver.
To execute the .run file, see other blog posts, https://blog.csdn.net/littlehaes/article/details/82494275.
1. Find the printer
2. Click Add
3. Find network printers
4. Fill in the host address 192.168.1.231 and click to find
5. Double-click the IPP address as shown below
6. Click Forward, then click Apply