Xsane from a network MFP

Archived topics about LMDE 1 and LMDE 2
Locked
dclement

Xsane from a network MFP

Post by dclement »

Hello,

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/libsane-pantum6500.so.1.0.24
(and several others, also in /usr/lib/x86-64-linux-gnu/sane and /usr/lib/sane)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dclement

Re: Xsane from a network MFP

Post 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

pantum6500
pantum_mfp
to /etc/sane.d/dll.conf

... and these two:

Code: Select all

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

Plus,

Code: Select all

RUN=yes
to /etc/default/saned.

Now:

Code: Select all

daniel@m6400 ~ $ sudo scanimage -L
[sudo] password for daniel: 
printer_info: (M6500NW series,192.168.0.58)
tcp_dev_open: (192.168.0.58,9200)
dev_inquiry: Model name = Pantum M6500NW series (tcp 192.168.0.58 9200)
device `pantum6500:tcp 192.168.0.58 9200' is a  Pantum M6500NW series (tcp 192.168.0.58 9200) multi-function peripheral
device `net:localhost:pantum6500:tcp 192.168.0.58 9200' is a  Pantum M6500NW series (tcp 192.168.0.58 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:
Image

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

Return to “LMDE Archive”