<!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>
&nbsp;&nbsp;&nbsp; Almost immediately after sending my request, I think I figured out
what I need to do:&nbsp; 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.&nbsp; 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).&nbsp; 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.&nbsp; Is this
correct?&nbsp; Anything I missed?<br>
<br>
Mark<br>
<br>
Earlier I wrote:<br>
<blockquote cite="mid:4A06CE17.60503@pemburn.com" type="cite"><font
 size="+1">&nbsp;&nbsp;&nbsp; I'm pretty new to SANE so please forgive my ignorance.&nbsp;
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.&nbsp; 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.&nbsp; I still haven't figure
out exactly how to display the results but this will come in time.&nbsp; The
next thing I want to tackle is setting options for the scanner,
something I gather is done with "sane_control_option".&nbsp; Is there a list
of all of the available options and the valid values for each?&nbsp; I've
searched all over but haven't turned anything up yet.&nbsp; 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>