<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Is there a way to query button states in command line from sane or scanbd with sane backend?</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">I want to see that I can read buttons first, then attempt again to configure scanbd with sane backend. So far I failed to get any response to buttons via sane backend.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;">I checked "scanimage -h | grep button", and it reports only --wait-for-button (which is just to pause the scan until user presses a button on the scanner).</span><br></div><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">The only hint I've got is <span style="font-size: 10pt;">"scanimage -A | grep button" which returns "--monitor-button[=(yes|no)] [no] [read-only]". </span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;">Both manpage and scanimage --help are mum on the topic. </span><span style="font-size: 10pt;">Google is of no help either.</span></div><div style="color:
 rgb(0, 0, 0); font-size: 10pt; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;"><br></span></div><div>--</div><div>Ilya</div>  </div></body></html>