Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Don Martin 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
-
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.
-
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.
-
Please excuse the silly question, but does a spool queue actually exist for lz1? (should be in /var/spool/lpd/lz1, I suppose).
-
did you know how to automaticle print fax ?
let me know.