HP Laserjet Pro m404dn Offline
Open the Control Panel option on your computer.
Select Network and Internet --> Network and Sharing Center --> Manage Advanced Sharing Settings.
Choose the Turn on Network Discovery option under the Network Discovery option.
Tick the check box near Turn on Automatic Setup of Network Connected Devices.
Go to File & Printer Sharing to choose Turn On File and Printer Sharing.
Tap Save or Save Changes and reconnect the HP LaserJet Pro M404DN printer.