You can connect and add your Mackintosh to the HP printer through 123.hp.com/setup for mac . Proceed with the given points.
Connect your HP device with a wireless router.
Now begin downloading the driver from the official HP website mentioned above.
Start the driver installation process.
Proceed to add the printer to your Mac.
Select ‘System and Preference’ on the Apple menu.
Tap ‘Printer and Scanners’ and then the ‘+’ icon.
You’ll notice your printer model. Select it and tap the ‘Add’ button.