HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: generating bulk FAXes with Word
> Harald Lux wrote:
> > > I set up a printqueue that uses a modified faxfilter-script I
> > > found in mgetty, which filters the target FAX-No. out of the
> > > Postscript-code.
> >
> > Does this work? I tried to convince Ulrich to integrate such a parsing
> > into whfc, but he said that the .ps code generated by win95 is not
> > suitable for an easy parsing.
>
> It works if you format it with a non-truetype font. Otherwise the driver
> generates one Postscript-line for each character. Using a Postscript-font
> you get a line like the following and the faxfilter-script works:
>
> -0.200 0 (FAX-Nr : 546)A
>
> I used the Apple Laserwriter driver.
>
> The faxfilter-script uses the following to get the number:
>
> TELEFON=`awk '{ IGNORECASE=1 } /FAX-Nr ?: ?[0-9-]*/ \
> { gsub(/-/,""); \
> anfang=match($0,/ ?: ?/); \
> anfang=anfang+match(substr($0,anfang),/[0-9]/)-1; \
> ende=match(substr($0,anfang),/[^0-9]/)-1; \
> printf ("%s",substr($0,anfang,ende)) \
> }' $FAXFILE`
>
> but this fails, if you have
>
> -0.200 0 (FAX-Nr : 0228/54 6-11)A
>
> because it stops at the first non-digit character, if my interpretation is
> right.
>
You find a WORD-macro which enables mailmerge-faxes with hylafax at
http://www.mnd.fh-wiesbaden.de/~dreymann/linux/whfc_macros.txt (english)
or http://www.mnd.fh-wiesbaden.de/~dreymann/linux/linux4.php (german)
Detlev
**************************************************************
Wenn Sie mit PGP arbeiten, senden Sie mir doch bitte Ihren Key.
If you are using pgp, please send me your pgp-key.
**************************************************************
Prof. Dr. Detlev Reymann
FH Wiesbaden
Studienstandort Geisenheim
Fachbereich Gartenbau und Landespflege
von-Lade-Strasse 1
Tel. 06722-502732
Fax: 06722-502380
EMail: D.Reymann@geisenheim.fbl.fh-wiesbaden.de
Meine Webseite: http://www.mnd.fh-wiesbaden.de/~dreymann