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

m. allan noah kitno455 at gmail.com
Sat May 12 00:33:29 BST 2018


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:
>
>     CONFIGURATION
>          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
> file.
>
> 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
-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list