@jazzz-singr, Welcome to the HP Support Community! I’m here to help.
I understand the print quality s the attachments are not satisfactory. As the printer is able to print other documents fine, this could be an application-specific issue.
Try downloading the attachment and then print it or use a different web browser like Google Chrome or Firefox and check if that helps.
Update the printer firmware
Click here to download and install the latest printer firmware from your PC.
Click here to know different methods of updating printer firmware.
Hope this helps! Let me know how it goes.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click on the YES button to reply that the response was helpful and/or to say “Thank You”.
Have a great day!
KUMAR0307
I am an HP Employee