Hi and Welcome. My Name is ***** ***** I look forward to assisting you today with your question.
You need to install the drivers and software first. Go to this website --> http://support.hp.com/us-en/product/HP-Deskjet-3050A-e-All-in-One-Printer-series---J6/4311836/model/5224265/drivers
Click GO under Option 2
Next to "HP Deskjet 3050A e-All-in-One Printer series - J611 Full Feature Software and Driver" click Download button on right. This will download the latest drivers and software. Open the downloaded file and follow the onscreen instructions to setup your printer.
If you have any difficulty on following the steps above, please let me know and I will walk you through the steps.