HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] generating and faxing html docs



On Fri, 18 Apr 2003 11:56:11 -0700
hylafax@millerclan.com wrote:

> 
> I have some backend code that is generating HTML e-mail messages.  These
> messages contain information specific to the recipient -- their name and
> other such stuff.  I then send these messages out to the recipients via
> sendmail.  (No, I'm not a spammer... :-)  The problem is that I have some
> users who, for reasons of their own, REALLY want to receive these as faxes
> rather than e-mail.  I could -- I guess -- load these messages into a
> browser and "print" them to a hylafax server, but there are too many of
> them for this to be a viable option.  Is there some way I can automate 
> all of this?  Perhaps what I really want is a way to get a postscript
> rendering of the HTML file -- once I'm into postscript, the hylafax part
> should be easy, right?
> 

The first solution that comes to my mind is to use HylaFAX typerules
and define a new entry that corresponds to an HTML file.  This
may not be possible unless the generated HTML conforms to a standard
file heading.

Consult the typerules manual page for details.

Utilities to convert HTML to PostScript (or PostScript via latex) can
be found by searching on freshmeat.net for html2ps and html2latex.

If typerules cannot work, then a perl or bash script using the above
utilities should do the job.

Frank Peters


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions