To run a diagnostic on your hp printer, you have to download hp print and scan Doctor on your device. Now, run HPPSdr.exe, and once HP printer and Scan Doctor open then select your printer. Now, either click on Fix Scanning or on Fix Printing. Results are displayed once the process finished. And, if you have still any doubt, then reach hp support assistant.