Disconnect printer from computer
Install the software from the CD-ROM that came with printer or download the software from support.hp.com.
Make sure printer is on.
Connect printer to computer when prompted by software install or when finished installing.