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

Related posts 相關文章
Windows 無法直接打開 Samba 分享出來的 .exe 執行檔
More...
samba 建置檔案伺服器fileserver分享目錄檔案
More...
samba 出現Unable to connect to CUPS server localhost:631 錯誤訊息
More...
讓linux使用者利用winbind認證windows AD
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。