First you need to download the drivers. You can do that using HP Support website. Select the operating system installed in your system, then expand Driver - Product Installation Software and download the package. Follow the instructions during the installation and you'll have a printer fully functional in your laptop.