Welcome to HP Forums,
This is a great place to get support, find answers and tips to your technical queries.
To provide you with an accurate solution, I'll need a few more details:
Which application are you using to print?
How is the printer connected?
Make sure the printer and Phone are connected to the same network.
Is the copy working fine?
update the printer firmware and Mac software:
To print using the HP Smart Click on this link: https://support.hp.com/in-en/document/c03561640 and follow Step 2: Print, Scan, and Copy.
Keep me posted, how it goes!
If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!
Have a great day!
Cheers:)