[sane-devel] Communicating with Saned

Wittawat Yamwong wy-sane-devel at arcor.de
Thu Sep 7 11:05:53 UTC 2006

On Thursday 07 September 2006 09:46, Sujeewa Raj wrote:
> I'm working on Epson 10000XL scanner connected to linux thru sane (and I'm
> new to the world of sane). I want to operate it over TCP/IP. I downloaded
> the sane package and installed it. There is a frontend called saned which
> provides a TCP server for this purpose. So I'm writing the correspoding
> Client programme to connect to Saned TCP Server.
> I would like to know the messages that I'm suppossed to send to Saned TCP
> Server. Also any other help/known issues regarding saned.

Why don't you use the net backend? If the backend compiles on your target 
platform and the programming language you're using allows linking with a 
C-library, you'd better use it. There is also a Java implementation of the 
network protocol if I remember correctly. See man pages of sane-net and  
sane-dll for more info about configuring the backend. BTW, the protocol itself 
is described in detail in Chapter 5 of the SANE Standard.

Wittawat Yamwong
Hannover, Germany

More information about the sane-devel mailing list