HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Sending both PS piped to sendfax as well as a separate file



I would to create an on-the-fly PostScript cover letter from some HTML and append a separate PDF file.  The following almost works:

 

echo "<html><body><h1>Heading</h1><p>Some HTML output which makes up my cover letter...</p></body></html>" |

htmldoc --format ps3 --bodyfont Helvetica --header ... --footer ... --webpage - |

sendfax -n -m -f "John Doe" -d "555-555-1212" somefile.pdf

 

If I do not include a separate file (ie. somefile.pdf), the HTML gets faxed over as desired.  When I include it, however, only the separate file gets transmitted.  How can I make both to be sent?

 

Thank you, Michael

 




Project hosted by iFAX Solutions