Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: Viewing received faxes via http browser
On Wed, 22 Oct 1997, Uri Shkolnik wrote:
> I'm running Hylafax 4p1 on SunOS4.1.4, I want to enabled users to view
> faxes with Netscape/Internet Explorer etc. via my Intranet web site.
>
> Does anybody have a working system like this?
You could probably rig up something with the Adobe PDF reader plug-in, and
a liberal application of ps2pdf. ;-) Or, convert it to a ReallyBigJPEG(tm),
and eliminate the need for the PDF plugin.
--
#!/usr/local/bin/perl -- Edward S. Marshall <emarshal@xnet.com> --
sub g{my$i=index$t,$_[0];($i%5,int$i/5)}sub h{ substr$t,5*$_[1]+$_[0],1}sub n{(
$_[0]+4)%5}$t='encryptabdfghjklmoqsuvwxz';$c='fxmdwbcmagnyubnyquohyhny'; while(
$c=~s/(.)(.)//){($w,$x)=g$1;($y,$z)=g$2;$w==$y&&($p.=h($w,n$x).h($y,n$z))or$x==
$z&&($p.=h(n$w,$x).h(n$y,$z))or($p.=h($y,$x).h($w,$z))}$p=~y/x/ /;print$p,"\n";