To connect your HP Printer to a laptop with a USB, you need to first go to the official website of HP 123.hp.com/setup and find the compatible printer drivers for your device. After this install the software on your device by going to the printer and drivers section.
To set up an HP printer, you need to install hp printer drivers on your device. Make sure all the cords of the printer are connected to the computer as well as the wall socket. After this, go to the official website of HP from where you can install and set up your HP printer.