Make sure the printer and the iPhone are connected to the same wireless network.
This printer supports only 2.4GHz network.
If you have a Dual-band router and both 2.4GHz and 5GHz networks share the same name/SSID, the printer will not be able to connect to the network. In this case, contact your Internet service provider to assign different names to both the networks.
Touch the Wireless icon or open the Network Settings to view the network connection status.
Update the printer firmware
Click here to know different methods of updating printer firmware.
Also, check for any software updates on iPhone
Open the item you want to print, and then tap the Share icon or .
Tap Print or the Print icon to open Printer Options.
Tap Select Printer to select your printer.
Change any of the following print job settings. Available settings vary depending on the app you are printing from, the print job type, and your printer.
Paper: Make any paper size changes on the printer. AirPrint automatically detects the paper size loaded in the printer or the size selected on the printer control panel. If the detected size is different than the paper in the tray, an error might display asking to confirm the size.
Number of copies: Select how many copies you want to print.
Black & White: Select to print in grayscale. This option only displays for color printers.
Double-sided printing: Print on both sides of the paper for certain file types.
Page range: Select specific pages within a document or webpage to print.
Let me know how this goes.
If you feel my post solved your issue, please click “Accept as Solution”, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
KUMAR0307 I am an HP Employee
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".