-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Wireless, Networking & Internet
- WIFI PRINTING FROM LAPTOP NOT WORKING BUT WILL PRINT FROM AN...

Create an account on the HP Community to personalize your profile and ask a question
09-16-2024 09:53 PM
The printer is connected to the LAN (router) using Wi-Fi, is that correct?
If I understand you correctly, when the laptop is connected with an Ethernet cable to the router then it can print. That means it's on the same subnet as the printer.
When you disconnect the ethernet cable and switch to Wi-Fi, the laptop can no longer print. Is that correct?
I suspect that the laptop is now on a different subnet and can no longer find the printer because of a firewall or configuration problem between the Wi-Fi router and the LAN router.
Is this a flex system where you have multiple Wi-Fi boosters or repeaters?
The printer needs to be on the same subnet as the rest of your devices unless they use Wi-Fi direct.
Check the IP4 address of your computer and then get a network printout and see if both the printer and the computer are on the same network.
Using the windows command prompt, copy and paste the following into the CMD window
ipconfig | find /i "ipv4" |
should look something like the below
|
Get a printer network report. The PINs and Passwords should show up. Here is the important stuff from a typical printer report. The password shown in Wi-Fi can be the printers PIN or the modem's password depending on how you connected to the modem. The printer can have two bands but the only one that is connected will show up.
LAN | STATUS | IP address | SSID | Password |
Wi-Fi | enabled | 192.168.1.15 | ATT-ARRIS-2 .4 | GuessAgain |
Wi-Fi-direct | enabled | 192.168.23.1 | DIRECT-WHATEVER | BadGuess |
Wired | disabled | |||
USB | disabled |
Note that the printer and the computer are both 192.168.1
This means they are on the same subnet. If they are not on the same subnet then the router needs to be allowed to transfer data from one subnet to the other. If your laptop has a different IP address such as (for example)10.1.10.4 when on Wi-Fi then there seems to be a problem with the two routers. There must be a firewall keeping the the Wi-Fi router on 10.x from sending data to the printer at 192.x
The Wi-Fi device the laptops is connected to needs to use the 192.x IP addresses from the router. You need to disable its ability to create a subnet.
I recommend you configure the laptop to use Wi-Fi direct to the printer and bypass the router completely.
If you provide the exact model of the printer I may be able to find a video or two that shows how to configure Wi-Fi direct.
Thank you for using HP products and posting to the community.
I am a community volunteer and do not work for HP. If you find
this post useful click the Yes button. If I helped solve your
problem please mark this as a solution so others can find it