To configure your firewall to enable wireless printing from an HP printer, you need to **allow HP printer software and related network traffic through the firewall** on your computer and network. This typically involves the following steps:

1. **Allow HP printer programs and features through Windows Firewall:**
– Open *Windows Defender Firewall* (or your OS firewall settings).
– Click **Allow an app or feature through Windows Defender Firewall**.
– Find and check all HP printer software entries.
– Ensure they are allowed on your current network type (private or public) by clicking *Change settings* and checking the respective boxes[1].

2. **Adjust advanced firewall rules if needed:**
– In Windows Defender Firewall, select **Advanced Settings**.
– Configure inbound and outbound rules to permit traffic on ports used by HP printers (such as port 9100 for printing, or the ports required for HP ePrint and other services).
– Enable network discovery protocols like *mDNS* or *SLP* if your firewall supports these services, as HP printers often rely on them for discovery[2].

3. **Configure the printer’s firewall settings (if the printer has an embedded firewall):**
– Access the printer’s Embedded Web Server (EWS) via its IP address.
– Navigate to the firewall or security settings.
– Set a firewall policy that permits IP traffic necessary for printing functions (usually based on IP or protocol)[4].

4. **Ensure the printer is connected properly to your wireless network:**
– Use the printer’s *Wireless Setup Wizard* from its control panel to join your WiFi network.
– Alternatively, use WPS if supported (press the router’s WPS button and then the printer’s WPS button within 2 minutes)[3].

5. **Test wireless printing:**
– After configuring firewall settings and connecting the printer to the WiFi network, test printing a wireless print job from your computer.
– If the printer is not detected, check firewall logs or temporarily disable the firewall (for testing only) to confirm it is causing the block[1][2].

In summary, configuring your firewall for HP wireless printing involves allowing all relevant HP software through the firewall on your PC, permitting necessary discovery services (mDNS, SLP), ensuring appropriate port openings, and configuring any firewall settings on the printer itself[1][2][4]. Follow the printer’s wireless setup instructions and confirm network connectivity as part of this process[3].