All the devices that are connected to your wireless router have access to the same network. No matter how they are connected with the network, these devices can communicate with each other easily. For instance, a desktop computer connected by Ethernet or wirelessly can give print command to a setup HP wireless printer.
For this, each of the gadgets have to connect over the same wireless router. You also want to create HP Printer Wireless Setup within your pc to get print from this printer over a wireless network. If you don’t know a way to do that, then you may take HP Help to perform this in your consolation sector.