HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] faxing multiple documents using sendfax & STDIN
Hello,
I have successfully setup a custom program that sends faxes by piping
postscript (or pdf) into sendfax via STDIN, roughly equivalent to doing
"cat test.ps | sendfax -d test@000 " in a bash shell.
However, I would like to be able to sendmail multiple seperate PS or PDF
documents in this manner. I have naively tried simpling concatenating
the two documents (i.e. "cat test1.ps test2.ps | sendfax -d test@000")
but I unsuprisingly get an email telling me the job as failed - sendfax
understandably gets confused after reading the 1st '%%EOF' marker.
Is there any delimiter I can insert to allow sendfax to accept multiple
documents via the standard input? I have tried quite hard to avoid
writing temporary files to disk in my setup and it would be a shame to
have to use them now. I had a quick scan of sendfax.c++ but didn't see
anything obvious, although that is most likely attributed to my poor C++
skills.
For a bit of background, this is part of a wider setup I have spent a
fair bit of time on which performs faxing of MS Office documents via an
email gateway. Once I get it all setup I'll post a wee howto as I'm
aware this is an often requested feature.
regards,
-ross
____________________ 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@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*