Section 3 : Running a Server

Q339: Re: Faxing from a PC?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
Re: Faxing from a PC?

A.
Date: Wed, 3 Jul 1996 07:22:40 -0700 (PDT)
From: Bill Campbell <bill@celestial.com >
Subject: Re: Faxing from a PC

>
>I'm using HylaFAX Version 3.0pl1 on a Solaris 2.5 sparc10.
>
>I trying to use send faxes from Microsoft Word, on a NT box.
>Is WinFlex my only option for doing this? I anyone doing
>something similar, is so can you give me the quick 1, 2.
>
We have a Unix printer named faxprn, and a SYSV LP Interface script that
extracts the fax number from the body of the fax (PostScript or text) by
searching for the pattern 'Fax: phone_number' then forwarding the message
via sendfax.  I've never tried this using a BSDish printer, but it
shouldn't be difficult.

This allows any application to send faxes by directing them to the fax
printer (the SYSV syntax is 'lp -dfaxprn ...'), and it's only necessary for
the Word user to select the proper printer.  We generally define the fax
printer as a very generic PostScript printer.

Bill

A.
Date: Sat, 25 May 1996 10:06:37 -0700 (PDT)
From: Bill Campbell <bill@celestial.com >
Subject: Re: Microsoft Word Documents

>
...
>Is there any chance that you could share your script with other Hylafaxers?
>(i.e. me :-) The Microsoft-cruft-stripping component sounds particularly
>appealing!
>
>Malcolm Gillies
>Systems/Development Engineer
>Connect.com.au Pty Ltd
>
Sure.  The lpfaxprn interface script and a routine, /usr/bin/csspath.pl,
which sets the PATH and other stuff that's global to the system and that's
available too via anonymous ftp:

ftp://ftp.celestial.com/pub/sysvlp/model/lpfaxprn
ftp://ftp.celestial.com/pub/lbin/csspath.pl

Others should make sure that anything that's specific to our site gets
changed since I haven't made any attempt to generalize this yet.

Bill


 Back to FAQ Index FAQ Index  Next question in List Q340: Files in /var/spool/hylafax/docq?
faq@hylafax.org. Last updated $Date: 2001/06/23 05:25:42 $.