Questions on SANE - backend for Epson PhotoPC

Jeff Tranter (tranter@pobox.com)
Mon, 23 Jun 1997 22:40:37 -0400

I'm working on a SANE back end for the Epson PhotoPC. So far I
have a rough prototype of the controls for the GUI, and have
figured out how to control the camera using Eugene Crosser's
photopc library. I have a couple of questions:

How do I get advanced options to show up in xcam/xscanimage as a
separate page? The screen dump on the web site shows a GUI with index
tabs showing advanced options. I tried doing what the other drivers
did -- had a group with the SANE_CAP_ADVANCED capability set, but it
just makes the options in the group invisible when running xcam.
Xscanimage does allow controlling if the advanced options are shown.
Am I missing something or does this feature not work? (I'm using
Sane 0.5 by the way, I haven't upgraded to 0.6).

How do I handle a function that returns a non-graphical response from
the camera (e.g. ask the camera to return the number of stored
images or battery status)? I had a few ideas:
- return a "fake" image that has a representation of all of the camera
settings (similar to the LCD display on the camera)
- simply send the info as text to standard output (ugly)
- call functions in the gtk library to display it in a dialog box
(probably not a good thing for a back end to do)

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com