![]() |
I have a situation where I need to have different "from" information on a fax cover sheet (name, company, voice phone number, etc.) on different outgoing faxes. I noticed that there are options to specify all of the "to" information on the command line of sendfax, but not the "from" information. I've seen three possible ways to do this so far: The first way is to use the .faxdb file. This is listed as depreciated in the man pages. I hesitated to use try it but it seemed like the most useful choice. I have a program that runs sendfax. So, I had it make a temporary directory, create a .faxdb file in there, and set the HOME environment variable point to the directory before running sendfax. Looking at the HylaFAX source code, it should replace the "~" in the hard coded "~/.faxdb" with value of $HOME. I had this working with the beta version. I'm using the CVS code now and it no longer seems to work. I just get blank fields on the cover sheet. If I put a .faxdb file in my home directory it does work. So, I think there is something I'm missing with the "~" processing code or it's idea of a home directory is different at the time it processes my cover page. I just double checked it against the beta code again and it still works there. So, it seems that there was a change that caused a problem here. Anyone have any ideas what it might be? I tried to do the same thing with the .hylarc file. It was my second choice because it's missing the ability to specify the from fax number. No luck there either (same problem it seems). The only other thing I can think of is having my program generate a cover sheet itself and hand it to sendfax. But, I'm hoping there is a more direct way. I'd like to try using the CVS code at this point (since there appear to be quite a few other fixes in it). So, if anyone can help me with this problem, I'd appreciate it. Or, if someone could suggest a better way to do what I'm trying to do, I'd be happy to hear that as well. Bill Young ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null