Hylafax Mailing List Archives

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

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



Erik Enge said:
> 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.
> 

Without doing coding, I don't think you have an option. If you could get
something that would reliably(key word) convert a msword doc into PS or
PDF, it would be simple enough to create some sort of wrapper script,
but getting anything to convert msword into PS is the issue.

Josh

____________________ 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.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services