Hylafax Mailing List Archives

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

Re: HylaFAX and some minor problems...



> 
> Hi Guys,
> 
> Well, Im new to the list and FreeBSD and HylaFAX (but learning fast) 
> so please bear with me...
> 
> I am running FreeBSD 2.2.2 and have just installed HylaFAX (ver 3.0pl0)
> I have set it up to send and receive faxes but really only need it to
> receive faxes. 
> 
> I need every received fax to to print automatically so I inserted the
> following line in faxrcvd (as suggested in the FAQ's)
> 
> /usr/local/bin/fax2ps $1 | gs -q -sDEVICE=ljet3 -dNOPAUSE -sOutputFile=- |
> lp

Here's my line to print, you will need to modify it a bit.

cat $FILELIST | gs -q -sDEVICE=laserjet -r150 -dNOPAUSE "-sOutputFile=| lp -dlaser" -

The key is that I specified the OutputFile as a pipe to a program, rather than
standard out.  I had some weirdness that I can't remember ( old age, you know )
when I did it your way.

> 
> then when a single page fax is received I get about 5 pages with about 2
> inches of rubbish printed out at the top of each page.
> 
> Do I need to define the device ljet3 and how?  I cant seem to find a
> printer config file or program.   Will the received file be deleted
> automatically after 'X' days or will I need to manually delete them from
> time-to-time?

man faxqclean

> 
> Also when I run Winflex, and try and view the status of the send or receive
> queue, I get the following:
> 
> Error: Unable to find service name "fax": WSAN0_DATA: No host data record
> of requested type?
> WARNING: Connect("192.168.1.1", "fax") failed.
> Server on 192.168.1.1:FIFO for all modems: Running
> Server on 192.168.1.1:cuaa0 for "+61395960117": Running and idle
> 

Nothing, it's working.

If you don't want the warning, add a line to the "services" file similar
to the one on the unix box, except label the service as "fax".

Good Luck,
-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com

"A man doesn't begin to attain wisdom until he recognizes that he is 
 no longer indespensable."
- Admiral Richard E. Byrd ( 1888-1957 )



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services