HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] FaxNotify Postscript to pdf not working.
I've resorted to the
mailing list to pose what I think is a new problem.
First off, a little
background...this is my first experience with HylaFAX.
I've chosen the
following setup:
Fedora Core
5
HylaFAX binary for
FC5 version 4.3.1-1
Receiving as PDF
files works great.
Sending with
Winprint HylaFAX works great as well. Until I tried turning on
FaxNotify with the "RETURNFILETYPE=pdf;" flag on.
I get the notify
email, but no attachment at all. (also tried tiff option...same end result
so I focused back to pdf)
My Google searches
and troubleshooting has let me down the path of running the notify script
manually like so:
[root@FAXSERV
hylafax]# ./bin/notify doneq/q31 done 10:00
grep: unrecognized option `--
data'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more
information.
FILE 1: docq/doc37.ps
Converting docq/doc37.ps to
PDF
Using ps2pdf
basename: extra operand `ESP'
Try `basename --help'
for more information.
[root@FAXSERV hylafax]#
So I started looking
into the notify script and the conversion routine in the common-functions
script. This led me to remove the tempcleanup call
and I then found
that the conversion actually works and creates the PDF file and the /tmp/
directory but never actually attaches it to the notify
email.
Now is where I admit
the bash scripting in the notify script for attaching the pdf is a little above
my brain power to decipher. Does anyone have any
suggestions on how I
can get this working?
BTW: if I set the
"RETURNFILETYPE" flag to "ps" then it works, the original postscript file is
attached and sent.
Thanks in
advance!
-Brad