27

I have Ubuntu 14.04. I was using a HP Laserjet 6L which worked after strugling with it for several days. I now have HP LaserjetP1102w and I just cannot get it to print.

When I installed it the computer recognised it. I went to properties and tried to print test page but nothing happened. I rebooted computer but still nothing.

I looked at some other answers regarding similar problems but could not understand a lot of it.

murphyc1
  • 271
  • 1
  • 3
  • 4

2 Answers2

37

Test this:

Open a terminal. CtrlAltT.

Run it:

sudo -i
apt-get update
apt-get install --reinstall hplip
hp-setup -i

Select the USB option from the list, and follow the prompts.

It will then ask about a propriatry plugin, let it download this , agree to the license then follow the rest of the prompts.

You left everything to default m for name of print queue, say y for the selected PPD being correct, put location to Home, and left additional information blank, then y to print a test page.

The printer should now work over USB.

Check the test page looks correct.

On the left side of the printer is a WiFi button, press it and it will create an Ad-Hoc WiFi network which you can connect to.

Connect to this using a suitable device, it will need a WiFi connection, either use your Gnu/Linux machine directly.

Once connected, find the IP Address of the printer by holding the red X button on the printer, which will make it print out a configuration sheet containing the IP Address.

Connect using a web browser to this IP address, and within the Network Settings, configure the connection to your actual WiFI network.

Check and double-check the settings are correct, then once saving the settings, it should try to connect to your WiFi network.

On your Gnu/Linux machine, remove the USB version of the printer within the System ---Administration---Printing menu, then run this command to run setup again:

sudo -i
hp-setup -i

Select the Network option from the list, have it download the plugin and accept the license again if asked, fill in the same prompts as above, and you should be ready to print over wireless.

kyodake
  • 15,401
  • Hi thanks for information but I am still having problems. I did "CtrlAltT" and opened terminal. At the top of it was christopher@christopher. What is "Run it"?. I tried to write sudo etc but I could not move down to second line. I looked up instructions on using terminal and it seemed like dos commands which I am familiar with but I could not manage it. – murphyc1 Jan 21 '15 at 22:13
  • Each line should be entered in, and then you press enter to execute what you've typed. For example, you start by entering sudo -i, the command to elevate yourself to root, and hit enter. Your prompt should then reflect that by changing christopher to root. Then simply repeat, entering each line and hitting enter. – Gary Apr 29 '15 at 02:11
  • I get an error here when downloading the plugin: "hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered" – MichaelChirico Dec 18 '15 at 19:40
  • 1
    For those who went over this quickly without doing sudo -i (like I did), for hp-setup -i to work you have to sudo. – Enrico Mar 15 '16 at 21:23
  • I found it necessary to specify the IP address of my printer in the final step. e.g. hp-setup -i 192.168.0.68 – mozz100 Nov 15 '16 at 22:16
  • Possible extra info: https://answers.launchpad.net/hplip/+question/254909 and this massive thread (all OS) http://h30434.www3.hp.com/t5/Printers-Archive-Read-Only/HP-Laserjet-P1102W-Wireless-Connection-Trouble/m-p/2422555#M55329 – pd12 Dec 19 '16 at 16:05
  • 2020-08-09 Worked for me, on a new rasp-pie. – Radim Cernej Aug 09 '20 at 08:24
2

I've run 'hp-setup' on a terminal and it worked for me. I've executed it without sudo. It opens a HP GUI for configuration. Just follow the intructions. Also, you can check the CUPS error log on http://localhost:631/

Marcelo
  • 76
  • 5
  • 1
    In case you have trouble connecting the printer to a Wi-Fi, be sure to check this: https://answers.launchpad.net/hplip/+question/254909 - together with the information here, it worked great. – Liedman Jun 18 '15 at 17:57