First of all, register your printer device on HP Official website if not registered already. Thereafter you can check the warranty status of your HP Officejet Pro 9020, 9020e, 9022, 9023, 9025, 9025e, 9026, 9028 All-in-One series printers.
Now HP will notify you via alert messages that need attention. For any kind of troubleshooting tips for error codes scroll down and follow the hyperlinked article to fix it.