How Do I Turn My Printer Online Using Wireless Connection?

I just bought an HP printer with the Wi-Fi network sharing feature. I have connected my laptop to it and it shows no troubleshooting error. But, when the documents had queued for printing, the PC says that printer is offline. How do I turn my printer online?
