[sane-devel] sane-sp15c and Fujitsu 620c: Help needed for plumbing backend to frontend

Garrick Sitongia sitongia@hotmail.com
Thu, 25 Mar 2004 00:37:46 -0800


The brightness and contrast levels are presently not supported by the sp15c 
backend. These are presently hardcoded at 128. But I was able to get it 
working in the hardware by adding "scanf" statements in sp15c.c. Scanimage 
stops and I can enter numbers for brightness and contrast each time I run 
scanimage.

   scanf("%d", &c);    /* my code */
  dev->brightness = c;
  dev->threshold = 128;
   scanf("%d", &c);    /* my code */
  dev->contrast = c;

How instead do I pass these numbers to the backend from scanimage? Where 
scanimage would get them the usual way from command line args?

Garrick

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/