Re: [hylafax-users] Problem faxing text file
Brought to you by:
faxguy
From: Lee H. <fa...@ho...> - 2007-02-07 17:49:59
|
Torsten Mueller wrote: > Lee Howard schrieb: > >> Torsten Mueller wrote: >> >>> Is my workaround the correct way of doing it or >>> is there a better solution ? >> >> >> Not unless you know how to change the locale settings under which >> typerules runs. > > > Probably we could force the document type while invoking sendfax > (my first wishlist item ;-) ). > Something like > sendfax -documenttype ascii -n -d 03928842880 00017.fax.txt I've thought of this before... but it's difficult. Realize that sendfax accepts multiple documents: sendfax -d number file1 file2 file3 And so it would need to be some kind of filename modifier to accomplish this: sendfax -d number -type=ascii file1 -type=msword file2 -type=pdf file3 And this vastly increases the complexity of things. I'd be more inclined to teach typerules how to use the system 'file' command if it is present. Lee. |