Connect an HP printer to a Mac by using the Wi-Fi network. Any HP printer with AirPrint technology can connect to a Mac by Wi-Fi protected setup, USB connection or through an ad-hoc Wi-Fi network.
To connect the HP printer to a Mac via Wi-Fi protected setup, start by opening the AirPort Utility, found in the Applications folder. Select the base unit and enter the password. From the menu bar, choose the option Add WPS Printer and then select either PIN or First Attempt as the type of connection. Click Continue; if choosing First Attempt, push the WPS button and look for the Mac address before clicking Done. If choosing the PIN option, enter the PIN and click Done before using the printer.
To connect the HP printer using a USB cable, install the Mac software that came with the unit and use the printer setup assistant utility. Connect to the network and check the documentation. Disconnect the cable from both the printer and computer and make sure the printer keeps the connection to the network before printing.
To connect the HP printer via an ad-hoc connection, install the Mac software on the computer and ensure that the network is on. Open the Wi-Fi menu and select the network. Use the printer setup assistant to connect the printer to the network; note that the printer may restart before connecting. Return to the Wi-Fi menu on the Mac before switching back to the Wi-Fi network.