[sane-devel] canon lide 200 sane-backends-1.0.27 genesys_gl847 backend

Robert A. Schmied uwppp at flash.net
Sat May 12 17:44:14 BST 2018

m. allan noah wrote:
> On Fri, May 11, 2018 at 6:53 PM, Robert A. Schmied <uwppp at flash.net> wrote:
>>saners (and xsaners)
>>the manpage for sane-genesys reads in part:
>>         The contents of the genesys.conf file is a list of usb lines
>>         containing  vendor  and  product  ids that correspond to USB
>>         scanners. The file can also  contain  option  lines.
>>i have yet to figure out how to enter option lines into my genesys.conf
>>can anyone enlighten me?
> I think this is an unfortunate double use of the word 'option', to
> mean both options set in the config file to control the internal
> behavior of the driver, and options you can set on the command line to
> control the scanned images. I don't think the config file has the type
> of control you are looking for.
>>in particular i'd like to set these scanimage command line options:
>> --mode=color
>> --depth=16
>> --resolution=200 (actually 300, but that res is not working correctly)
>> --brightness=45
>> --contrast=30
>> -l=1
>> -t=1
>> -x=215
>> -y=278
>>--brightness and --contrast because the default scans have a grayish
>>background when it should be white.
>>-l -t -x -y to adjust for us letter size paper and clip off the about
>>1 millimeter perimeter of the scan.
> Well, I gather you are an old unix hand, from your earlier mails- so
> perhaps all you need is a shell script, or an alias:
> alias scan="scanimage --resolution 200 -x=......."
> then just call 'scan'.
> allan


yep a 'nix command line greybeard.  was hoping to avoid the alias
route but ok if that is the only way to do it.  i tend to create
'em and then, especially for low use cmds, forget all about 'em.

i'm still confused by your explanation of the man page statement
about options.  it looks to me to be an artifact (the statement)
from maybe a parallel or scsi backend manpage.  i'd take a stab
at fixing [improving] the rof text if i had a better understanding
of what the genesys backend really supported.

thanks for your reply and sending my query thru to the mail-list.



More information about the sane-devel mailing list