Linux distribution: Arch Linux
Symptoms:
hp-setupcan not detect the p1102w printer when using USB connection.hp-setupcan not find the p1102w printer through manual WiFi IP connection.hplipis at version3.19.x
Solution:
Open the file /usr/share/hplip/data/models/models.dat, and search for the entry with keyword p_1102w. There should be an entry with the name hp_laserjet_professional_p_1102w. See the problem here? It should be hp_laserjet_professional_p1102w. No upderscore should present between p and 1102w. So the solution is simple: just remove the underscore. Also, inside the entry, there’s a property: model1=HP LaserJet Professional P 1102w Printer. There’s an extra space between P and 1102w. I’m not sure if this property will affect the functioning of the printer, but I prefer to remove the space. So that property will be: model1=HP LaserJet Professional P1102w Printer.
You may need root or sudo privilege to modify the file.
4 Comments
Holy crap you are genius.
Thanks you so much!
Very valuable thanks. I really monder how you figured this out!
I followed your advice and hp-setup does not see my printer. I put back the underscore and the space and now it does see it (hplip version 1.3.21.4-1). However, no matter how I try, I can’t use this printer on Arch with either hplip or foo2zjs.
I’m also using hplip 1.3.21.4 now. I use
hp-setupto add this printer and did not have a problem. I think I don’t even have to remove the underscore and space in this version. They probably fixed the issue some time in the past.