HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] "What we have here is a Word document"



In hfaxd/FileSystem.c++, I find:

            else if (cc > 2 && b.buf[0] == '%' && b.buf[1] == 'P') {
                logError("What we have here is a PDF file");
                op = FaxRequest::send_pdf;
            }
            else if (cc > (ssize_t)sizeof (b.h) && isTIFF(b.h))
                op = FaxRequest::send_tiff;
            else
                op = FaxRequest::send_data;

What I want is to be able to submit Microsoft Word documents through
`sendfax` and have HylaFAX go "Oh, Word, I know how to convert this to a
PDF" and then do a ::send_pdf.  Is there any way to do this without
doing an C++ programming?  I can see us adding "conversion filters" like
this for other formats too and having not to recompile every time would
be very convenient.

Erik.


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions