HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Printing fax after receiving



Hi,

I want to print on a HP Deskjet 550C a fax after receiving. I read Q. 76 in
the FAQ and entered the lines 

if [ -f $FILE ]; then
	$FAXPS2 $FILE | gs -q -sDEVICE=cdj550 -dNOPAUSE -sOutputFile=- | lpr
            fi

in the .../fax/bin/recvd.

After receiving a fax, one sheet is printed with the line

GS>GS>GS>GS>GS>GS>GS>GS<3>GS<4>GS<5>GS>ERROR

and three empty papers are following.

No I did the job by hand (the received fax is fax00004.tif):

fax2ps fax00004.tif > fax.ps
gs -q -sDEVICE=cdj550 -dNOPAUSE -sOutputFile=fax.gs fax.ps
lpr fax.gs

and then the fax is wonderful printed.

Why doesn´t the automatically printing works ?

Christian




Project hosted by iFAX Solutions