HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: scaneo
ANGELICA WONG wrote:
>
> Hi:
>
> Please help me and excuse me because my english is not very good.
> I need to scanning documents from a Power Builder application automaticaly,
> for example, clicking on command buttom.
>
> I believe that I need a dll file. I hope that you can be to help me soon.
>
> Thank for all
>
> Angelica
Hey,
for Linux, I wrote a script with the scanimage program to scan the
documents, but I don't know wether sane works with your scanner:
#!/bin/bash
Datei=/home/me/faxablage/$(date +"%d%m%y-%H%M%S").
scanimage --resolution 204 --mode Lineart -y 297 > $Datei
then try to convert the pnm-files into tiff-g3 by using the pnmtops
#!/bin/bash
for scans in $(ls /home/me/faxablage/*.)
do
echo $scans"g3"
pnmtops -dpi 204 $scans | /var/spool/fax/bin/ps2fax -r 196 -o $scans"g3"
done
sendfax -m -s a4 -t 1 -v -n -d $faxnumber -f \
"From: Your Name" -k "now +1 hour" ~/faxablage/*.g3
then you should add a mv command to empty faxablage
The result are faxes with a small black bar at one side because the
filter ps2fax does not work correctly.
The Progies are all from SuSE 6.1 distribution. If anyone has got better
filters for pnm to fax please tell me.
Ciao
Bernd
- References:
- scaneo
- From: "ANGELICA WONG" <angelw_x@excite.com>