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] how to make tiff file compatible with faxinfo ?
Do you mean that you want to create a copy of a tif and have that new tif output the same information as the original when faxinfo is run on it? If that is the case, try this:
[paul@fax recvq]$ cp fax000000023.tif new_fax.tif; /usr/local/sbin/faxinfo fax000000023.tif >> new_fax.tif
[pryan@faxbark recvq]$ /usr/local/sbin/faxinfo new_fax.tif
new_fax.tif:
Sender: 9525551234
Pages: 1
Quality: Normal
Page: North American Letter
Received: 2004:11:16 16:52:32
TimeToRecv: 0:22
SignalRate: 14400 bit/s
DataFormat: 1-D MH
ErrCorrect: No
I don't know for sure this is the "correct" way to do what you are looking to do, but it both displays the same output as the original in the TIF viewer, and it outputs the same information from faxinfo.
HTH,
paul
***On Wed 4:21p Nov 17 Y.MaX <yattaspam@xxxxxxxxx> wrote***
not just.
I want to create a "new" file tif that it contains information and that
these file created, read from faxinfo, gives back the inserted information.
Bye
MaX
Paul Ryan wrote:
>I'm not sure I understand the question...
>TIF files are compatible with faxinfo and TIF is the default filetype.
>
>eg.
>[paul@fax recvq]$ /usr/local/sbin/faxinfo fax000000024.tif
>fax000000024.tif:
> Sender: 9525551234
> Pages: 1
> Quality: Normal
> Page: North American Letter
> Received: 2004:11:17 08:00:41
>TimeToRecv: 0:22
>SignalRate: 14400 bit/s
>DataFormat: 1-D MH
>ErrCorrect: No
>
>are you trying to convert a TIF to a PS after it's been created? Try tiff2ps which I believes comes with hylafax.
>
>if you are trying to get the file that is attached to emails be a PS instead of a TIF, change the line in FaxDispatch to read filetype=ps;
>
>HTH,
>Paul
>
>