cannot install my hp printer with hp-setup

Solution 1:

Test this:

Connect printer with the computer and turn it on.

Open a terminal,

Press Ctrl+Alt+T

Run it:

sudo -i
apt-get update
apt-get install --reinstall hplip printer-driver-hpijs printer-driver-hpcups openprinting-ppds printer-driver-postscript-hp cups cups-filter printer-driver-gutenprint
hp-setup -i

Once you press enter, the automatic installation will download the needed packages for the hardware. Let the installation finished. Make sure that the printer is connected along installation process.

Once you finished the installation, you can try to print and scan using the device. The installation will download the proprietary package from HP repository. You can try to check the printer configuration once after installation finished. Using HP LIP, you can also try to run the basic HP printer and scanner utilities to make sure that all devices are running correctly.

Source: http://www.openprinting.org/printer/HP/HP-HP_LaserJet_Professional_M1132_MFP

Solution 2:

The cups service must be running. Run as root

service cups start