Hi
Thank you for posting on HP Forums,
Raj1988 is at your service.
I understand the lights are flashing on the printer.
No, worries, I'll be glad to help you with this.
Restarting the printer can restore.
Turn off the printer.
Make sure the printer power cord connects directly to an electrical outlet and not through a surge protector or power strip.
Turn on the printer.
If the issue persists, Click here for further assistance.
Keep me posted, how it goes!
If the information I've provided was helpful.
Give us some reinforcement by clicking the solution and kudos buttons, that'll help us and others see that we've got the answers!
Cheers!