I’m sorry, I haven’t found out how to ‘reply with quote’. I was referring your post with the firewall-cmd syntax. Apparently, I imagine, the IP address referred to there is added to the firewall configuration somewhere.
Anyway, I had already set my router to give the printer static IP address at printer startup.
What do you mean by ‘show the firewall configuration’? I use YaST and it tells me that the internal start-up default service configuration allows mdns.
For posting output, you can use the preformatted text button '</>.
Anyway, the output you shared shows that the home zone does NOT contain your network interface. So those rules don’t apply.
Check
sudo firewall-cmd --get-active-zones
BTW, you can install firewall-config for graphical management of firewalld. YaST only offers basic management of the firewall. I don’t use or recommend it.
Thanks Deano for the tips.
No. scangearnp2 only finds the scanner when the firewall is inactive.
There is scan to PC function on the scanner but that fails to find the PC whether or not the firewall is active.
I’ve never used “Scan to PC” in a Linux environment for any scanning. That would need a suitable daemon listening in any case. I’ve never owned Canon hardware (I actively avoid it), but I would expect scangeammp2 to find and communicate with the scanner without trouble. I have seen other similar reports when searching such as this one
As this is a new network multifunction device, I would expect it to be AirScan/eSCL compatible. This (in theory) would allow you to use a SANE front-end, such as the Gnome Document scanner utility, xsane, or simple-scan. Some information about that here… https://help.ubuntu.com/community/sane#Scanners_with_AirScan_Support
Looking at the ubuntu page, I’m still not sure what I would have to do in my case. I presume that, since the text line of the avahi-browse response contains “rs=eSCL”, there is some hope.
Yes the device is eSCL capable. However, further research tells me openSUSE Leap 15.4 does not yet provide the sane-airscan backend required, which is unfortunate. There are some third party repos providing it, but not really a path I want to go down.
Correction: New territory for me, but I note Leap 15.4 does provide sane-backends which includes the sane-escl backend. From ‘man sane-escl’ it is mentioned
“The. sane-escl backend for SANE supports AirScan/eSCL devices that announce themselves on mDNS as _uscan._utcp or _uscans._utcp. If the device is available, the sane-escl backend recovers these capacities. The user configures and starts scanning. A list of devices that use the eSCL protocol can be found at About AirPrint - Apple Support. While these devices are expected to work, your mileage may vary.”
Am I right in thinking that all I need to do is add my printer data to /etc/sane.d/escl.conf ?
The other two files listed in the “man sane-escl” page , i.e.
/usr/lib64/sane/libsane-escl.a
and
/usr/lib64/sane/libsane-escl.so
do not exist in my configuration only one file …so.1
The man page suggests that ordinarily no configuration is necessary. However, when it is not detected, manual configuration is possible. So try adding the device to /etc/sane.d/escl.conf
Output format is not set, using pnm as a default.
scanimage: rounded value of br-x from 215.9 to 215.9
scanimage: rounded value of br-y from 297.011 to 297.011
Is this beginning to look a little more hopeful? The printer ‘reacts’ when the scanimage command is sent.