First I downloaded printer driver software from HP.
In the terminal window I always get error code 100 when installing an HP printer and scanner, so the installation does not work. How do I solve this?
Open the terminal and type:
sudo apt install hplip libqt5printsupport5
hp-setup --gui
If you have problems run the second command in interactive mode instead of GUI mode.
hp-setup --interactive