Make sure the Printer and Computer are get connected and all we need is a well active Network connection, its SSID and Password for HP Printer wireless setup installation. The Mac device and the Printer should be connected closer to each other for better Network Connection.
During Installation, the Device screen will prompt for USB Connection.
Visit 123.hp.com/setup for driver installation by choosing your product and printer model number in the list.
Follow the ON-SCREEN Instruction to complete The HP wireless printer setup for MAC
Ref Website - https://www.easyprintersupport.com/setup-hp-printer/