On Saturday 19 July 2003 03:41 pm, Peter Stokes wrote:
> Hi Glenn
>
> Thanks for that, it was the ref's to sendfax in the script which was
> incorrect.
>
> I had tried to use the MDK 9.1 versions and the later download of 1.23.
> I have also had both the MDK 9.1 of hylafax and the latest download of
> the tarball, shame that the script does not say 'I cannot find
> sendfax...', but there we have it.
>

Agreed.  You might send a note to Sebastiano Vigna <[EMAIL PROTECTED]>
about it.  I've been working on my own version of the backend script, and I've 
changed the first part to:

if [ $# -eq 0 ]; then
    for i in $FAXPRG $FAXGUI $FAXSTAT ; do 
        if [ ! -x "$i" ]; then 
            echo "ERROR: can't find Hylafax program $i" 1>&2
            exit 0; 
        fi
    done
    echo "direct hylafax:/local \"Unknown\" \"Local HylaFAX server\""
    exit 0
fi

so the error gets logged, at least.

> Now onto next problem. I can send a PS file using
>
> lpr -Phylafax -J <number> ./testprint.ps
>
> works fine
>
> if however I try
>
> lpr -Phylafax -J <number> /etc/hosts
>
> I get tons of blank pages created to send (approx 30)
>
> I thought that CUPS was supposed to sort out the conversion of simple
> text files to whatever format is required?
>
> Peter

It should convert the text file.  I'll have to try it.  I seem to remember 
this problem, but I can't remember if I resolved it or left it on the 'todo' 
list.  There have been problems in the Hylafax 'textfmt' function, but I'm 
not sure if the hylafax.ppd says to convert to Postscript before passing the 
file onto Hylafax.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to