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] Form Overlay



I started working with a program called 2fax.  It wasn't exactly what I 
want, but it gets the job done.  Just for the sake of anyone that is 
interested in this in the future.. Here's what I did:

Using any program, I created a form I wanted to use. In my case I used 
OpenOffice 1.0.3 and printed it to file using the adobe postscript drivers.

I then took that file and converted it to pcx using this command:

gs - g1700x2200 -r200 -q -sDEVICE=pcxmono -sOutputFile=<output.pcx> 
<input.ps>

Then I take 2fax to take that pcx file and whatever text I want on top 
of that and run this command:

2fax <textfile.txt> <output.tiff> -bpcx:<overlay.pcx> -NC -HR

then I have a tiff file output.tiff that is exactly what I want, and I 
can fax that using HylaFax.  (Actually I ran into some errors just 
sending that file, so I converted back to postscript using tiff2ps and 
faxing that.)

I hope this helps someone in the future.  Its probably not the best way, 
but it works wonderfully

-Anthony

Cam Coble wrote:
>>I want to overlay some text over a form and fax it using hylafax. 
> 
> 
> Here is something that I found that helped me. It's a great little filter that 
> modifies the postscript on the fly, and is easy to modify (if you understand 
> some perl).
> 
> http://www.hylafax.org/archive/2002-04/msg00145.php
> 
> I know it says it's for headers, but it can be modified to suit your needs.
> 


____________________ 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