@Raj1505, Welcome to HP Support Community!
I see that you have issues with printing photos on the printer, since the regular documents are printing fine, I'd suggest you follow the steps below-
Update the printer firmware
Download available firmware updates from the HP website
With the printer on and connected to the computer, go to HP Customer Support - Software and Driver Downloads, and then identify your printer. Look for and install any available firmware updates. Refer to the document HP Printers - Updating or Upgrading Printer Firmware
Use the document HP Printers - How to Print Photos (Windows) to adjust the settings to print photos from your computer.
Hope this helps! Keep me posted.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
TEJ1602
I am an HP Employee