Setting up my HP LaserJet Pro P1102w was not as straightforward as I had hoped, but it is just a question of knowing what to do and in what order.
1. Set up the printer via USB (Linux)
Connect the printer to a computer via USB. Turn the printer on. Install the hplip package via your package manager.
hp-setup. This is done as root in order to have the printer available for all computer users. You must already be root; running
sudo hp-setup as a user will fail with an error message about GUI access.
In Device Discovery, choose USB. In Select From Discovered Devices, choose the correct detected printer. TODO: Finish.
2. Set up wireless services on the printer
On the same computer, open the HP Devices Manager. Select the desired printer. In the Actions tab, select “Wireless/wifi setup using USB”. At the end of the process you will be shown a screen similar to:
Network: Satie Address Mode: autoip Hostname: IP Address: 192.168.0.257 Gateway Address: 192.168.0.1 DNS Address: 0.0.0.0 Your printer has been connected to the wireless network and has been assigned a IP. Now run "hp-setup 192.168.0.257".
I ran that command as user. The HP Device Manager re-opened and I followed the on-screen instructions. Because I was running as user, I was prompted for root’s credentials. I choose to set up a printer and print a test page, which worked.
3. Set up the printer on a wifi-enabled computer (Linux)
Install hplip via your package manager.
hp-setup. Again, this is done as root in order to have the printer available for all computer users.
In Device Discovery, choose Network. Select the correct detected printer. On one computer, nothing was detected, so I had to go back, enter the advanced settings, and provide the printer’s IP as determined above. Doing so allowed the printer to be discovered. In the final page, choose to create the printer and print a test page.
4. Set up the printer on a wifi-enabled computer (Mac)
macOS 10.12 detected the wireless printer automatically. No special setup was required.
5. Set up wireless printing from mobiles and tablets
Being a networked printer, the first thing to do is determine if the problem is with the printer itself or with the computer that is trying to communicate with it. My experience has been that the latter is more common.
One way to test for this is to simply try to use the printer from a different device that had previously been set up to use it.
Another method is to open a web browser and attempt to view the printer’s internal web server. It will have an address of the form http://192.168.0.257/, matching the IP address you were given in step 2. If you can’t visit this page, that’s a good indication that the problem is with the printer. Go to Information – Print Info Pages and attempt to print one of the info pages. If any of the pages print, that’s a good indication that the printer is fine and the problem is with the computer trying to communicate with it.
- HP Support for P1102 series
- HP Linux Imaging and Printing
- OpenSUSE wiki: How to set-up a HP printer, which I wish I had found earlier