Hello, I'm on fedora 36 and I'm using an HP Laserjet Pro MFP M130fw, connected through wifi, both as a printer and a scanner. It seems that the scanner, via xsane, doesn't work anymore from yesterday. Unfortunately the printer gets its ip via dhcp and yesterday I had to reboot it and it changed ip. I don't know if it can be related. the scanner is now detected:
$ scanimage -L device `airscan:e1:HP LaserJet MFP M130fw (3330D5)' is a eSCL HP LaserJet MFP M130fw (3330D5) ip=192.168.1.223 device `hpaio:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.223' is a Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one device `hpaio:/net/laserjet_mfp_m129-m134?ip=192.168.1.223&queue=false' is a Hewlett-Packard laserjet_mfp_m129-m134 all-in-one
the ip of the first line, that seems to correspond to eSCL, is the correct one aquired. when I try to scan I can select eSCL, as usual, but when I try to scan I get
Failed to start scanner: Invalid argument
Any hint? Thanks, Gianluca
On Thu, 2022-08-04 at 19:37 +0200, Gianluca Cecchi wrote:
Unfortunately the printer gets its ip via dhcp and yesterday I had to reboot it and it changed ip.
I don't think changing IPs should be part of your problem, but you can configure your DHCP server to always give a device the same IP. I'd always suggest doing that to things that are permanently part of your network, leave random allocation to things that only visit.
If your printer/scanner was first discovered by your computer automatically (as opposed to you having to manually configure everything), then it ought to do it again. Perhaps restarting printer/scanning software might retrigger things.
Thus far, over many years, I'd noticed that printing & scanning software only seemed to care about device names, not fixed IPs.
Though I'd be quite surprised if you couldn't configure such a HP printer/scanner to use a fixed IP within its front panel controls.
What else has changed in the meantime? Was there an update to xsane?