Page 1 of 1

Xsane from a network MFP

Posted: Thu Aug 18, 2016 4:05 am
by dclement

I've just installed a Pantum M6500NW MFP (WiFi) on my home network. It works fine for printing; I can access the web server alright, I can even scan to a network share.

But sometimes I'd like to fine-tune the scanning, and scan from Xsane (or Gimp). This MFP came with a sane-specific deb file, which in turns installed a good deal of files, see below.

So it was looked good. But I couldn't make Sane aware of the network scanner. So far, Xsane hangs, and so does scanimage -L from the command line. Some clever setting is missing, but where? I've never installed a scanner this way.

TIA for any insight about that. Best regards, Daniel

Sample of installed files:
- /etc/udev/rules.d/60-pantum_mfp.rules
- /etc/sane.d/dll.d/pantum_mfp
- /etc/sane.d/dll.d/pantum6500
- /etc/sane.d/pantum6500.conf
- /etc/sane.d/pantum_mfp.conf
(also in /usr/local/etc/sane.d)
- /usr/local/lib/sane/
(and several others, also in /usr/lib/x86-64-linux-gnu/sane and /usr/lib/sane)

Re: Xsane from a network MFP

Posted: Mon Aug 29, 2016 12:52 pm
by dclement
Well, not very inspiring :(... However, I almost solved it myself :D.

Here is what I did so far:

I added these two lines

Code: Select all

to /etc/sane.d/dll.conf

... and these two:

Code: Select all

to /etc/sane.d/net.conf.


Code: Select all

to /etc/default/saned.


Code: Select all

daniel@m6400 ~ $ sudo scanimage -L
[sudo] password for daniel: 
printer_info: (M6500NW series,
tcp_dev_open: (,9200)
dev_inquiry: Model name = Pantum M6500NW series (tcp 9200)
device `pantum6500:tcp 9200' is a  Pantum M6500NW series (tcp 9200) multi-function peripheral
device `net:localhost:pantum6500:tcp 9200' is a  Pantum M6500NW series (tcp 9200) multi-function peripheral
takes ages to complete, bit looks much better, and indeed Xsane does work remotely.

Only 2 minor quirks (maybe related) remain:
1) it takes quite a while to start;
2) it presents me with two occurrences of Pantum 6500:

I'd be content with one... Still some adjustments needed, I guess... (as perhaps removing the "localhost" line from /etc/sane.d/net.conf?)