If connecting via USB, do not plug in the cable until the software asks you to do so.
It installs the most compatible, up-to-date driver in the background. hp printer driver best