From owner-freebsd-questions Sun Feb 16 10:41:48 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F1E837B405 for ; Sun, 16 Feb 2003 10:41:47 -0800 (PST) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E9A243FA3 for ; Sun, 16 Feb 2003 10:41:45 -0800 (PST) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id h1GIfg026987; Sun, 16 Feb 2003 20:41:42 +0200 Message-Id: <200302161841.h1GIfg026987@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 16 Feb 03 20:41:13 +0200 Received: from SpoolDir by INFO (Mercury 1.48); 16 Feb 03 20:40:56 +0200 From: "Toomas Aas" Organization: Tartu City Government To: Per olof Ljungmark , questions@freebsd.org Date: Sun, 16 Feb 2003 20:40:48 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: hylafax / faxrcvd script / freebsd In-reply-to: <3E4F87AF.4030801@intersonic.se> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -r 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 Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Nostalgia isn't what it used to be... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message