Discussion:
xsane - save standard scan format
(too old to reply)
Herr Oswald
2017-06-08 05:19:09 UTC
Permalink
Raw Message
Hope you will apoligize this stupid question:

In 99 out of 100 cases I'm scanning DIN A4 pages. In the xsane preview
window I always have to readjust the settings from "full size" to "A4".
 
Can I somehow save "A4" als the default scan size?

Cheers,
Wolf
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Roger
2017-06-08 22:13:18 UTC
Permalink
Raw Message
Post by Herr Oswald
In 99 out of 100 cases I'm scanning DIN A4 pages. In the xsane preview
window I always have to readjust the settings from "full size" to "A4".
??
Can I somehow save "A4" als the default scan size?
Cheers,
Wolf
$ cat /etc/papersize
letter
--
Roger
http://rogerx.freeshell.org/
Herr Oswald
2017-06-09 03:19:37 UTC
Permalink
Raw Message
Post by Herr Oswald
Can I somehow save "A4" als the default scan size?
$ cat
/etc/papersize                                                       
                                                       
letter
On my machine, /etc/papersize contains "a4" - nevertheless xsane always
takes "full size" first.

W
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Roger
2017-06-09 15:39:41 UTC
Permalink
Raw Message
Post by Herr Oswald
Post by Herr Oswald
Can I somehow save "A4" als the default scan size?
$ cat
/etc/papersize??????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????????????????
letter
On my machine, /etc/papersize contains "a4" - nevertheless xsane always
takes "full size" first.
/etc/papersize was merrily a quick suggestion and after further researching,
the file is provided by libpaper, pulled in by ghostscript and cups. So
/etc/papersize is used for output/printing (cups) operations and not
input/scanning operations.


~/.sane/xsane/xsane.rc

"preset-area-name"
"letter port."

"preset-area-name"
"letter land."

Funny thing is, when scanning an area, I always scan for the image size or the
largest are of the flat bed scanner, rather than by A4/Letter size.

Might want to make sure the xsane frontend is able or is saving it's settings
to the file.
Herr Oswald
2017-06-09 15:57:14 UTC
Permalink
Raw Message
Post by Roger
~/.sane/xsane/xsane.rc
"preset-area-name"
"letter port."
"preset-area-name"
"letter land."
On my machine, I get 16 hits when searching in the file for "preset-
area-name" - representing 16 different paper formats. So, to me it more
looks that all the predefined scan formats are saved here - but not the
single one which is choosen when the application starts.

I'm afraid, my question still is noch answered. Sorry.

W
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Roger
2017-06-09 23:21:35 UTC
Permalink
Raw Message
Post by Herr Oswald
Post by Roger
~/.sane/xsane/xsane.rc
"preset-area-name"
"letter port."
"preset-area-name"
"letter land."
On my machine, I get 16 hits when searching in the file for "preset-
area-name" - representing 16 different paper formats. So, to me it more
looks that all the predefined scan formats are saved here - but not the
single one which is choosen when the application starts.
I'm afraid, my question still is noch answered. Sorry.
Since nobody else has chimed in here, I would move your $HOME/.sane folder to
$HOME/.sane-20170609 and let xsane recreate it's configuration file. Usually
the first thing I do when applications start behaving strangely.

eg.

$ mv $HOME/.sane $HOME/.sane-20170609

When things like this go astray, simply backup your configuration file and
start with a new one. Rarely needs to be done on Linux, but sometimes
inevitable.
--
Roger
http://rogerx.freeshell.org/
Herr Oswald
2017-06-22 07:01:42 UTC
Permalink
Raw Message
Original question:

Can I save the scan size in which is displayed in xsane's preview
window? - In my setup it always switches back to "full size", i'd
rather have "A4 portrait", because I use this in 99% of all cases.
Post by Roger
Since nobody else has chimed in here, I would move your $HOME/.sane
folder to 
$HOME/.sane-20170609 and let xsane recreate it's configuration
file.  Usually 
the first thing I do when applications start behaving strangely.
eg.
$ mv $HOME/.sane $HOME/.sane-20170609
When things like this go astray, simply backup your configuration
file and 
start with a new one.  Rarely needs to be done on Linux, but
sometimes 
inevitable.
I tried. But xsane's behaviour remained. So this may be the correct
standard behaviour? - "Always forget the last setting of scan size" ?

Cheers,
W
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.deb
m. allan noah
2017-06-22 11:58:11 UTC
Permalink
Raw Message
The author of XSane is not a member of this mailing list. You might
try contacting him directly to ask if this is possible.

allan
Post by Herr Oswald
Can I save the scan size in which is displayed in xsane's preview
window? - In my setup it always switches back to "full size", i'd
rather have "A4 portrait", because I use this in 99% of all cases.
Post by Roger
Since nobody else has chimed in here, I would move your $HOME/.sane folder to
$HOME/.sane-20170609 and let xsane recreate it's configuration file. Usually
the first thing I do when applications start behaving strangely.
eg.
$ mv $HOME/.sane $HOME/.sane-20170609
When things like this go astray, simply backup your configuration file and
start with a new one. Rarely needs to be done on Linux, but
sometimes
inevitable.
I tried. But xsane's behaviour remained. So this may be the correct
standard behaviour? - "Always forget the last setting of scan size" ?
Cheers,
W
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Loading...