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] Automated print-to-fax



I got this working by using sysv style printing rather than cups as the backend, I couldn’t figure out the cups tangle.

I then share up the printer in samba and it works pretty good.

 

I can send you some of my conf files offline to compare if that will help

 

 

 

From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Don Kelly
Sent: Saturday, January 22, 2011 10:45 AM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Automated print-to-fax

 

I am attempting to create a Hylafax process to replace a RightFAX feature that sends a fax when a client prints to a pseudo-printer.

 

I’m using a script that worked for someone once upon a time with just a little modification (cupsfax, attached) that extracts the fax-to number from the print stream.

 

Printing to the printer on the client system does cause the script to execute on the Hylafax server, but I’m seeing some errors:

 

“D [22/Jan/2011:06:53:52 -0600] [Job 6] /etc/cups/interfaces/HPFAX: Permission denied”

I was originally thinking the application couldn’t access /etc/cups/interfaces/HPFAX (-rwxr-xr-x), but now think this may be something within the file that causes the permission-denied error. /etc/cups/interfaces/HPFAX is a copy of cupsfax (attached).

 

Permissions of the files that are explicitly named in cupsfax seem OK.

 

I’m wondering about ‘FAXFILE=$6’  “The file to print”  Permission is –rw-r-----. I assume this is OK ‘cause that’s how the file is created in the spool directory.

 

When I get past this issue, I think I’m going to be wondering how to make this work with a pcl file vs. a ps file.

 

I’d really appreciate any help.

--Don

 

 




Project hosted by iFAX Solutions