To get the Wi-Fi password for your HP printer, you typically need to find the Wi-Fi Direct password that allows you to connect to the printer’s own network or find the password for the Wi-Fi network your printer is connected to.

Here are the common methods:

1. **Print the Wi-Fi Direct password from the printer**:
– Make sure Wi-Fi Direct is enabled on your HP printer (look for a Wi-Fi Direct icon or a Wi-Fi button that you can press to toggle this).
– Then press the “i” button or a similar information button on the printer’s control panel. This usually triggers the printer to print a page showing the Wi-Fi Direct network name and password you can use to connect directly to the printer from your phone or computer[2][1].

2. **Check the original printer packaging or sticker**:
– Some HP printers have a default Wi-Fi password printed on a sticker on the printer itself (usually on the back or bottom) or on the original box/manual[4].

3. **Find your Wi-Fi network password (if the printer is connected to your home network)**:
– If you mean the Wi-Fi password that your printer uses to connect to your router’s network (not the printer’s Wi-Fi Direct password), you can find this password on your router label or by logging into your router’s web interface.
– You can also find the saved Wi-Fi password on a device already connected to that network (like your phone or computer)[3].

4. **Use the HP Smart app**:
– HP’s app can help manage your printer and may show the current network information or help you connect your printer to Wi-Fi using the correct password[4].

If you want to reconnect the printer to a new Wi-Fi network or enter the Wi-Fi password manually, go to the printer’s control panel wireless settings, select your Wi-Fi network, and enter the password using the printer’s buttons or touch screen[3].

In summary, if you want the printer’s own Wi-Fi Direct password so you can connect directly to it, print the network information page using the printer buttons. If you want the password for your home Wi-Fi network that the printer uses, check your router or device settings[2][3][4].