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] lpr to fax



Neil Schneider wrote:

> >  If you're running samba, look on the HylaFAX website for the link to
> > Sambafax.
> >
> 
> I guess I didn't make this clear enough. I have a proprietary
> application that runs on a Linux server. I want to define a printer,
> that includes a specific fax number in the configuration. When the
> user chooses to print to that printer, from within the application, it
> will send a fax to the fax machine/telephone number defined in the
> printer configuration. There is no samba, no windows clients involved
> in this application. It runs on the Linux server and is accessed
> through a terminal session. There is no opportunity to input a phone
> number in the application, the phone number needs to be configured in
> either the printcap (unlikely) or the printer filter. Sambafax won't
> do the job.


 All you need to do to accomplish this is write a simple lpr filter script
to supply the document to sendfax.
 This wouldn't be much more than:
 cat > tmpfile; sendfax (faxnumber) tmpfile.
 
Matt

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions