1.While adding your HP printer to your Windows 10 computer, make sure that it is set as a default one.
2.Select the options as mentioned here: Windows > Start > Control Panel > Hardware and Sound > Devices and Printers.
3.Locate your HP printer.
4.Right-click on the HP printer name and select Set as a default printer.