The latest drivers for your printer (including Windows 10 support) were only issued two days ago and so obviously won't be on your installation disc.
You've probably got there from Hc4361's link by now but, just in case you've failed to find the download link, it's here:
http://ftp.hp.com/pub/softlib/software12/COL32611/al-109412-3/DJ1050_J410_1313-1.exe
Download that file to any convenient place on your computer. Then double-click on it to run it. Restart your computer. Your printer should then work with your new computer.