Try to Install windows xp prefessional edition.
Also try to extract the driver you downloaded from HP website in the current os then go to control panel and device manager. from there try to install the driver by specifying the driver path.
*The drivers on HP do not unpack into a folder. Instead they self extract and load onto the system, so you can’t optionally choose to load the driver from source, because the downloaded source is an executable.