HyLaFAX + samba
[1.] 至http://www.boerde.de/~horstf/ 下載respond及printfax.pl
並安裝samba
apt-get install samba samba-client
[2.] vi printfax-1.5.0.pl
### Format of commandline
#$cmdlinefmt=’mgetty’;
$cmdlinefmt=’hylafax’;### The faxspoolprogram
### for mgetty+sendfax:
#$faxspool = ‘/usr/bin/faxspool’;
### for hylafax:
$faxspool = ‘/usr/bin/sendfax’;$debug = 1;
$nosendondebug = 0;
cp printfax-1.5.0.pl /usr/bin/printfax.pl
[3.] vi /etc/samba/smb.conf
[fax]
comment = Fax
postscript = yes
print command = ( /usr/bin/printfax.pl %I %s %U %m; rm %s ) &
; For WinNT terminal server and Win2000 comment out the previous two lines
; and uncomment the next two if you are using a printfax.pl version below 1.5.0
; postscript = no
; print command = (echo -e ‘1i
%!
.
w
q’|ed %s; /usr/bin/printfax.pl %I %s %U %m) &
printable = yes
writable = no
path = /var/spool/samba
service smb start
ref:
http://www.hoyo.idv.tw/software/OpenSource/software/fax_server/fax_index.htm
http://phorum.study-area.net/viewtopic.php?t=18494&highlight=modem&sid=8d7951f01c8dfd003785842eee51db86
http://fanqiang.chinaunix.net/a1/b1/20020111/08100047_b.html
留言