Koozali.org: home of the SME Server

Auto Print - Hylafax

Don Martin

Auto Print - Hylafax
« on: August 19, 2003, 02:22:02 PM »
Hi,
I have searched the forums for autoprinting a received fax with not much luck. I have looked at hylafax.org and tried adding
$FAX2PS -H 10.5 -S $FILE | lpr -Plz1 –v
to my raxrcvd script.   This also did not work!

I currently use the faxrcvd script written by Noel Burton-Krahn dated Sept 4, 1999 to email the fax as a .pdf attachment, but cannot get any received faxes to automatically print to my network printer setup on the e-smith server.

Could someone please point me in the right direction?

Cheers
Don

Robert

Re: Auto Print - Hylafax
« Reply #1 on: August 20, 2003, 03:20:14 AM »
Have you tried sending a test PostScript file to the lz1 queue to see what it does? I.e.
lpr -Plz1 test.ps
If that works, post more details about the faxrcvd script for further troubleshooting. If it doesn't work, you'll need to fix your printer setup first.

Don Martin

Re: Auto Print - Hylafax
« Reply #2 on: August 20, 2003, 05:32:52 AM »
Hmm..  Thanks Robert...
Tried lpr -Plz1 /usr/share/fax/faxcover.ps

I get the following error...

 sending job 'root@server+875' to lz1@localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer lz1@localhost
 job 'root@server+875' transfer to lz1@localhost failed
  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
  sending str '^Blz1' to lz1@localhost
 error msg: 'spool queue for 'lz1' does not exist

I have setup the printer on my server using the server-manager, do I also need to add my printer to another configuration file?

Thanks for your help!
Don.

Robert

Re: Auto Print - Hylafax
« Reply #3 on: August 21, 2003, 03:37:58 AM »
Please excuse the silly question, but does a spool queue actually exist for lz1? (should be in /var/spool/lpd/lz1, I suppose).

Th.Steevens

Re: Auto Print - Hylafax
« Reply #4 on: January 01, 2004, 11:36:54 PM »
did you know how to automaticle print fax ?
let me know.