Can a firewall block my printer from connecting to the network?
Yes, security software such as firewalls can block communication between your computer and printer when installing over a network. If your printer cannot be found, temporarily disable your firewall and check if the problem goes away. For more help and tips on security software, visit www.hp.com/go/wpc-firewall. (Page 4)
From the official HP Deskjet 2540 All-in-One Printer manual, page 4
Have a follow-up question?
Answers from the official manual.
Common questions