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] generate custom ps



On Tue, Oct 02, 2001 at 10:07:52AM +0200, Davide Giunchi wrote:
> I'm using latest Hylafax version and i want to generate the postscript file 
> from text file, here there's no problem because sendfax is well done to 
> this purpose. The problem is that inside the text file i must change the 
> fonts more times, make more black some line and moreover... all the 
> instructions like this are inside the text file between {%....}, i could 
> write a perl script to recognize the "tag" but which program can i use to 
> generate the postscript with that variable? i've seen gs and imagemagik but 
> it seems that it doesn't have this feature.

The program traditionally used to do this is textfmt, but no, it
doesn't handle "rich text" (used here as a generic term to cover the
class of documents you're discussing).

How you can proceed depends not a little bit on where your text files
are coming from.  If you can generate raw PS, that's best.  If you can
translate it into HTML, I believe you can work with that, too; check
the mailing list archives for html2ps.

And someone's just pointed me recently to a PCL2/3 to PS converter; I'm
planning to investigate that in the next week or so, unless someone
else needs it worse than me, in which case I'll forward them the link.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra@baylink.com
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 804 5015

   "Usenet: it's enough to make you loose your mind."
     -- me


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null





Project hosted by iFAX Solutions