Hi, How about setting the default based on LANG or LC_PAPER environment vars? Or provide an option to do so? The same is done for printing systems, isn't it?
Regards, Simon > Frankly, your front-end program should save your preferences for > things like page size, so you only set them once. I was pretty sure > that xsane did so. For a front-end that does not, we could change > sane-backends defaults on a per-backend basis, I suppose. I the > backends I wrote (which includes fujitsu) it should be easy. For > example, edit backend/fujitsu.c and search for 8.5 and 11 (the width > and height of US Letter). Change those as required and recompile. A > better long term solution would be to make the default sizes > configurable from the backend's config file. I will think about the > best way to do that. > > allan > > On Mon, Mar 6, 2017 at 9:56 AM, Philipp Huebner <[email protected]> > wrote: >> Am 06.03.2017 um 15:54 schrieb m. allan noah: >>> The fujitsu backend does not have an automatic size option. The page >>> and image sizes default to US Letter, which is wider than A4. Perhaps >>> you are seeing some feature of your frontend program. Which frontend >>> are you using? >> >> You're probably right. xsane and gscan2pdf default to letter, only >> simple-scan defaults to automatic. >> >> I would still be interested in changing the default from letter to A4. >> >> Regards, >> -- >> .''`. Philipp Huebner <[email protected]> >> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F >> `. `'` >> `- >> >> >> >> >> -- >> sane-devel mailing list: [email protected] >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to [email protected] > > > > -- > "well, I stand up next to a mountain- and I chop it down with the edge > of my hand" > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] > -- sane-devel mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
