[sane-devel] ADF

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 14 Nov 2002 10:43:31 +0100


Hi,

On Thu, Nov 14, 2002 at 09:27:55AM +0100, John Doe wrote:
> Is there a list of all the adf scanner which supported by sane?

There was a similar question about this topic some time ago. For a
response see:
http://www.mostang.com/pipermail/sane-devel/2002-November/004983.html

You'll probably need to check the backend homepages.

> Is there somebody how know how can I get a return code from scanimage 
> in my c program?

IIRC and completely untested:

fork ...
  exec ...
  
  waitpid (pid, &status)
  
Examine the status with  WIFEXITED(status) and WEXITSTATUS(status).
See manpages for details.

Bye,
  Henning