HylaFAX The world's most advanced open source fax server

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

Re: Printing received faxes



Hi Mark,
    If you are printing to a group of Laserjets that can handle postscript,
you may want to try printing without the ghost script.  This doesn't answer
your original question but it may help.

Mark Comins wrote:

> Greetings,
>
> I am trying to get faxrcvd to print out faxes as they are received.  My
> script works fine if I go to the ..spool/recvq directory and execute the
> script with the faxid as $1.  I modified the faxrcvd script and added in
> my script file.  The faxes do not print when I get a fax but I am getting
> an error saying
>         Alladin Ghostscript: Can't find initialization file gs_init.ps
>
> I saw some mention of a GSLIB variable in the help file.  I tried putting
> GSLIB=/usr/local/share/ghostscript/5.50;export GSLIB in the script file
> and that did not work.  Below is a copy of the script:
>
> /usr/local/HylaFAX-v4.0/tiffbin/fax2ps $1|gs -q -sDEVICE=ljet4
> -dNOPAUSE -sOutputFile=- -|lpr -oraw -s
>
> What confuses me is that I can run this command at the system prompt and
> it prints.  Within faxrcvd it will not print and gives the ghostscript
> error. Any suggestions would be appreciated.
>
> thanks,
>
> ------------------------------------------------------------------
> Mark Comins
> Aperion Information Technologies, Inc.
> Oxford, MI  48371
> (248) 969-9791
>
> mtcomins@aperion.com
>
> http://www.aperion.com






Project hosted by iFAX Solutions