Interestingly, Windows 10/11 32-bit has better legacy printer support and includes the “HP LaserJet 1015” driver. If possible, migrate to Windows 10 32-bit (still supported for legacy systems).