sounds great...<br><div><span class="gmail_quote"></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; Finally I want to say that I would be very pleased if libinklevel was
<br>&gt; integrated into HAL and so found a much wider audience.<br><br>Okay, so other than the code, do you have any interface definition? For<br>instance, we need to define methods and properties in a general way for<br>
each printer.<br><br>For instance, for my old epson, I could imagine:<br><br>printer.number_cartridges = 2 (int)<br>printer.cartridge_names = {black, composite}<br>printer.ink_level = {80, 45} (strlist)<br>printer.interface_type
 = &quot;epson&quot; (string)</blockquote><div><br>that would be black and colour right?<br>ink level is sometimes 'not low' and 'low' and doesn't really give specific values.<br>also libinklevel could do with using some of the information from HAL in order to fill in some of the missing information that may be required, such as number of cartrides, cartride names and any options that may modify the request. 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&lt;any others as required&gt;<br><br>I see no point exposing each as a method as this stuff changes very
<br>infrequently and and application could call:<br><br>void org.freedesktop.Hal.Device.Printer.RefreshLevels (void)<br><br>if an update is required.<br><br>How does that sound?<br><br>Richard.<br><br><br>_______________________________________________
<br>hal mailing list<br><a href="mailto:hal@lists.freedesktop.org">hal@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/hal">http://lists.freedesktop.org/mailman/listinfo/hal</a><br></blockquote>
</div><br>