Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Multiple covers or templates
At 05:04 PM 4/1/01 -0500, Thom Dunaway wrote:
>I have several single page fax I would like to send regularly to different
>users. I would like for these to be like a cover page with a message in the
>comments box. The problem I have is that I do not seem to be able to send
>just the cover page.
>
>Is there a way to send just the cover page?
Yes. Pipe faxcover output to sendfax. I do it like this (obviously the
$VARIABLES have values in my script):
faxcover -c "$COMMENTS" $COVERPAGE -f "$FROMNAME" -n "$TONUMBER" -r
"$FAXSUBJECT" -t "$TONAME" -x "$FAXTOAT" | sendfax $PRIORITY -a "$SCHEDULE"
-n -f "$FROMMAIL" $CONFIRMSEND -d "$FAXTOWHOM"
>Secondly, I have some templates that I would like to accept variables like a
>cover sheet (may even some new variables).
>
>Is there a way to merge data into a template before sending?
Numbers of ways. You could write something like the faxcover program and
use it in conjunction with some template like faxcover.ps. Seems like too
much work to me. An easier route, I think would be to use
bash/sed/grep/awk/perl scripting to generate an ASCII file (or PS if you
need formatting and fonts and know how to program Postscript). Then
sendfax the output.
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null