HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Strange printouts



Tim Boyer wrote:

Faxes come in, and I've got FaxDispatch that says

$TIFFBIN/fax2ps -W 8.7 -H 10.6 $FILE|lp -dsales

Works great. Our last fax, according to the logs, came in on 8/31 at 3:47.
Makes sense - everyone bugged out for the long weekend.


But every once in a while, strange printouts come out of that printer.  They're
always the same, and they say this:

%%Trailer
%%Pages: 0
%%EOF


Notice:


[root@gollum hylafax]# fax2ps -W 8.7 -H 10.6 /tmp/notafile
TIFFOpen: /tmp/notafile: Cannot open.
/tmp/notafile: Can not open, or not a TIFF file.
%%Trailer
%%Pages: 0
%%EOF
[root@gollum hylafax]#

So make sure to check on that $FILE before unconditionally pushing it through fax2ps and to your printer:

if [ -r $FILE ]; then
   $TIFFBIN/fax2ps -W 8.7 -H 10.6 $FILE|lp -dsales
fi


Lee.



____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions