Encountering errors like printer driver is unavailable is a common issue. You can look for the reason and solve it in following ways:

An expired printer driver may cause an error in the driver. Update your driver to its latest version.
Sometimes corrupted printer drivers leave issues in the printer. Anti-virus updates can resolve it.
Incompatible or incorrect installation of drivers is another reason for this error. You can reinstall the printer to fix it.
https://www.myprinterisoffline.....com/blog/hp-printer