To connect an **HP DeskJet printer to Wi-Fi**, you generally have two main methods:

1. **Using the HP Smart app:**
– Turn on your printer and load paper.
– Make sure your phone or computer is connected to the desired Wi-Fi network.
– Download and open the HP Smart app on your device.
– Sign in or create an HP account.
– The app should automatically find your printer; if not, add it manually.
– Go to printer settings > network setup.
– Select your Wi-Fi network and enter its password.
– Tap “Connect” to establish the connection.
– Your printer will now be on the Wi-Fi network, allowing wireless printing[1].

2. **Using Wi-Fi Protected Setup (WPS):**
– Ensure your printer supports WPS and your router has a WPS button.
– On the printer, press and hold the wireless button until the indicator blinks or navigate through the printer’s control panel to Network Settings > Wi-Fi Protected Setup > Push Button.
– Within two minutes, press the WPS button on your router for 3-5 seconds.
– The printer’s wireless light will stop blinking when connected.
– Afterward, install the HP printer software on your computer or mobile device to start printing wirelessly[2][3].

**Additional tips:**

– Keep the printer close enough to the Wi-Fi router to ensure a strong signal.
– You can also use the HP Printer Install Wizard on your computer if you prefer over the HP Smart app[1].
– After connecting, print a test page to confirm the printer is properly connected and ready.

These procedures apply broadly to most HP DeskJet models, including the 2734e, which also uses the wireless button method to enter setup mode before connecting to Wi-Fi[4].