Re: using scanbd

2021-07-28 Thread mick crane
well that's embarrassing all seems to be working now with "systemctl 
start scanbd"

sorry about that.
mick
--
Key ID4BFEBB31



Re: using scanbd

2021-07-28 Thread mick crane

On 2021-07-28 04:52, mick crane wrote:

OK pressing the scanner button works if I start scanbd with -m switch
"scanbd -m"
but if start scanbd with systemctl
"systemctl start scanbd.service"
It does not work.
I also cannot start scanbm.socket.

"/usr/lib/systemd/system/scanbd.service"

[Unit]
 22 Description=Scanner button polling Service
 23
 24 [Service]
 25 Type=simple
 26 ExecStart=/usr/sbin/scanbd -f -c /etc/scanbd/scanbd.conf
 28 #ExecReload=?
 29 Environment=SANE_CONFIG_DIR=/etc/scanbd
 30 StandardInput=null
 31 StandardOutput=syslog
 32 StandardError=syslog
 33 #NotifyAccess=?
 34
 35 [Install]
 36 WantedBy=multi-user.target
 37 Also=scanbm.socket
 38 Alias=dbus-de.kmux.scanbd.server.service


Any idea why that should be ?
mick
--
Key ID4BFEBB31



Re: using scanbd

2021-07-27 Thread mick crane

On 2021-07-27 17:11, mick crane wrote:
The scanner works with XSane and Gimp without any configuration on my 
part.

I'd like to scan a load using the scanner's scan button.
Can somebody give me a quick instruction how that works ?

Installed scanbd which seems to be working in that it stopped XSane
finding the scanner until I killed scanbd.
I see that I can comment out the other scanners except the
manufacturer in /etc/scanbd/scanbd.conf and that I can maybe comment
out all the other models in /etc/scanbd/fujitsu.conf.
The example script in /usr/share/doc/scanbd/examples indicates that it
might save the scanned file to /tmp/scanner.test which I could change.
Question is if on the right track if I scan many documents how to make
the files sequentially numbered if the "example.script" is opened new
each scan ?


Ok, I see from archlinux scanbd wiki that there are some things I need 
to do.
I think then that when scanbd gets a word "scan" from the scanner that 
it calls a script which can just contain "scanimage >image.pgm"
Suppose I could have in there get a number "i" from a file and add one 
to it and save that back to the file and have scanimage >$i.pgm
in order to get sequential numbering unless there is some already 
configured way to do that?


mick
--
Key ID4BFEBB31



using scanbd

2021-07-27 Thread mick crane
The scanner works with XSane and Gimp without any configuration on my 
part.

I'd like to scan a load using the scanner's scan button.
Can somebody give me a quick instruction how that works ?

Installed scanbd which seems to be working in that it stopped XSane 
finding the scanner until I killed scanbd.
I see that I can comment out the other scanners except the manufacturer 
in /etc/scanbd/scanbd.conf and that I can maybe comment out all the 
other models in /etc/scanbd/fujitsu.conf.
The example script in /usr/share/doc/scanbd/examples indicates that it 
might save the scanned file to /tmp/scanner.test which I could change.
Question is if on the right track if I scan many documents how to make 
the files sequentially numbered if the "example.script" is opened new 
each scan ?


mick

--
Key ID4BFEBB31