Scan on windows PC with scanner connected to openSUSE PC

Hello,

Is it possible to scan (receive an image) on a Windows PC if the scanner is connected to a Linux (openSUSE 13.2) PC?
I was led to the xsane site in search of a solution to doing this but the site doesn’t offer windows download anymore because it increases the traffic too much it seems.
Next I tried SANEWin but it didn’t like my Windows 10 installation.

Is there a way to do this easily? The scanner is connected to USB and the openSUSE PC the USB leads to is connected to the LAN. The scanner is a Canon LIDE 110 which works fine on the openSUSE PC with Skanlite

Yes, see here:
https://wiki.archlinux.org/index.php/SANE

On 2015-07-30 18:26, Axeia wrote:
>
> Hello,
>
> Is it possible to scan (receive an image) on a Windows PC if the scanner
> is connected to a Linux (openSUSE 13.2) PC?
> I was led to the xsane site in search of a solution to doing this but
> the site doesn’t offer windows download anymore because it increases the
> traffic too much it seems.
> Next I tried SANEWin but it didn’t like my Windows 10 installation.
>
> Is there a way to do this easily? The scanner is connected to USB and
> the openSUSE PC the USB leads to is connected to the LAN. The scanner is
> a Canon LIDE 110 which works fine on the openSUSE PC with Skanlite

I have not done it, but sane can work across the network, yes. However,
if there is no Windows client, you are out of luck.

Another caveat may be that it is a Canon. Skanlite is not sane, I
believe. maybe I’m wrong, dunno.

However, you can display any Linux graphical application across the
network on another machine, be it Linux or Windows. X is a
client-server… er… thing.

In Windows you could use “MobaXterm”:

https://en.wikipedia.org/wiki/Comparison_of_SSH_clients
http://mobaxterm.mobatek.net/

Notice that the actual work is done in the server (Linux) and displayed
in the client (Windows). Graphic applications that display heavy
graphics, demanding them to be transported over the network, are slow.
And your file would be saved on the Linux machine, you would still need
to copy it over to Windows (or share the directory).

So you need a fast network.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thanks for the replies, it looks like skanlite uses sane at least :slight_smile:
it requires libksane which in turn requires sane.

I’m mainly trying to get around my father having to physically connect the scanner to his laptop so a simple solution with a GUI would be prefered.
The ArchLinux wiki doesn’t mention Windows and presenting my father with the whole GUI seems a bit overkill/confusing.

I tried http://sanetwain.ozuzo.net/ as I’ve the read that it works under 64 bits system even though the author claims it doesn’t and the application seems like it would do what I need it to do.
Simply setting ‘PCUSER’ in it as the username and then on the serverside in “Yast > Scanner > Other > Scanning Via network” setting the “Permitted clients for saned” field to PCUSER doesn’t work sadly.

If there’s anyone with a 32 bit windows operating system who’s willing to try the same? I’d be interested to see if using it this way does work for them.
According to the openSUSE docs the configuration through YaST should be that simple. Same thing with SaneTwain, should work after putting in the hostname.
All I’m getting however is “Error establishing connection to host” (the firewall is disabled).

Hi Axeia

That is an interesting approach and one that is similarly described in the blog linked below (where a R.Pi is used as the networked SANE server)
http://blog.pi3g.com/2013/04/raspberry-pi-sharing-a-scanner-with-the-network-even-windows/

When you tried this, I assume you now had the scanner physically attached to the Linux machine (acting as a server) with Windows acting as a client?

On 2015-07-30 23:56, Axeia wrote:
>
> Thanks for the replies, it looks like skanlite uses sane at least :slight_smile:
> it requires libksane which in turn requires sane.
>
> I’m mainly trying to get around my father having to physically connect
> the scanner to his laptop so a simple solution with a GUI would be
> prefered.

Yep.

> The ArchLinux wiki doesn’t mention Windows and presenting my father with
> the whole GUI seems a bit overkill/confusing.

MobaXterm is not the whole GUI. It is basically an ssh client, with X
components so that you can run any Linux application from Windows. It
works as if in Linux, you use “ssh -X user@remote.server”, and then
start an application, like for instance “kwrite”. You get the kwrite
window in Windows.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Indeed I had :slight_smile: That’s kind of the ideal solution I’d like.

Mmmh that does sound rather interesting. I might give it a look tomorrow.

Having added the following
“192.168.1.0/24”

To /etc/ssane.d/saned.conf and restarting the computer (I couldn’t figure out how to restart the sane deamon) it now works. I can scan an image through SaneTwain on a 64-bits windows version (windows 10 & Vista).

On 2015-07-31 19:16, Axeia wrote:

> To /etc/ssane.d/saned.conf and restarting the computer (I couldn’t
> figure out how to restart the sane deamon) it now works.

I don’t have it installed, so I can’t check precisely, but it is always
the same way.

Any daemon can be started via xinetd, dynamically when there is a
request via network, in which case it is not started till there a such
request.

Or, more likely, it can be started as a service. Traditionally, there
would be a script under /etc/init.d/ called perhaps ssane, and a link in
/sbin/rcssane, so doing:


su -
rcssane restart

would do the trick. Alternatively, modern systemd style:


su -
systemctl restart ssane[tabkey][tabkey]...[enter]


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Ah yes, that is required for allowing scanning over a network as mentioned here. Well done!