<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi again,<br>
<br>
Almost immediately after sending my request, I think I figured out
what I need to do: Call "sane_get_option_descriptor" with the SANE
handle and integer "0" as the second argument (SANE_Int n) and it'll
return a pointer to a structure of type SANE_Option_Descriptor. One of
the members of this structure contains the an integer that tells _how
many_ options are available from this particular device (not sure which
but I'll test it out and see). By iterating over calls to
sane_get_option_descriptor supplied with values of 1 to n-1, you'll get
a full list of available options and what to do with them. Is this
correct? Anything I missed?<br>
<br>
Mark<br>
<br>
Earlier I wrote:<br>
<blockquote cite="mid:4A06CE17.60503@pemburn.com" type="cite"><font
size="+1"> I'm pretty new to SANE so please forgive my ignorance.
After
several weeks of brain busting with new languages and concepts, I've
made quite a bit of progress on my Mac OS X scanner interface using
Cocoa/Objective-C. I can get the list of available scanners, get the
SANE handle and, in moment of ecstasy this past Thursday, was finally
able to activate the scanner and retrieve data. I still haven't figure
out exactly how to display the results but this will come in time. The
next thing I want to tackle is setting options for the scanner,
something I gather is done with "sane_control_option". Is there a list
of all of the available options and the valid values for each? I've
searched all over but haven't turned anything up yet. Your help will
be greatly appreciated.<br>
<br>
Regards,<br>
<br>
Mark Pemburn<br>
</font>
<pre wrap="">
<hr size="4" width="90%">
--
sane-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a>
Unsubscribe: Send mail with subject "unsubscribe your_password"
to <a class="moz-txt-link-abbreviated" href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a></pre>
</blockquote>
<br>
</body>
</html>