Toomas Aas wrote:
Hi!


The bin/faxrcvd works completely well from the command line, only fails when called from the hylafax server (excerpt from log below):

RECV FAX: bin/faxrcvd "recvq/fax00035.tif" "cuaa1" "00000067" "" "" ""
here the script fails at line 202:

$PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2>/dev/null

The "$FILE.ps" is created but not converted to "$FILE.pdf".

This works from the command line issued as:
%ps2pdf -g<size> -r<resolution> recvq/fax00035.tif.ps recvq/fax00035.tif.pdf

I must admit I don't have a first clue about the arhchitecture of hylafax, but maybe the problem is that ps2pdf is simply not found in the path? In that case, replacing it with /path/to/ps2pdf in whichever script it is called from would help.
--
Toomas,
Already tried unfortunately.
If I replace #!/bin/sh with #!/bin/sh -xv in the script and watch the output you can see that the script adds the absolute path:

+ /usr/local/bin/ps2pdf -g1728x583 -r204x196 recvq/fax00037.tif.ps recvq/fax00037.tif.pdf

If I knew how to pipe the output to a file when the script is running as called from Hylafax I could probably solve it, right now I can only do it separately from the command line...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to