HylaFAX The world's most advanced open source fax server

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

resolution problem




Hello,                                                              
                                                                    
I have installed HylaFax 4.0pl2 on a Digital Unix 4.0C system.      
I used to run successfully 3.0 on a different DEC system elsewhere. 
Now I compiled the new version (after some configuration work) and  
it seems to work at first glance:                                   
  - hfaxd is running, answers correctly to faxstat                  
  - faxq is running properly                                        
  - faxgetty starts and initializes the modem                       
All this can be followed in syslog.                                 

However at first I was not able to send faxes. After some debugging
with the help of syslog messages I found the following problem:
Sendfax contacts hfaxd to submit the (Postscript) file to fax but
telling wrong resolution parameters, "64" as vertical resolution
instead of "98" for the "normal" case and "128" instead of "196"
for the "fine" case. In both cases the job gets stuck, because
the modem is found "not capable". 

After hacking in "faxd/Modem.c++" the wrong values could be accepted
but I only exclusively get out low resolution faxes. Then I tried
to force in the "ps2fax" script a vertical resolution of "196" 
but then the fax is rejected with errors because Hylafax claims
the modem does not support "12.25 lines/mm". However I had set
196lpi which is the usual "7.7 lines/mm"... 

I am puzzled and stuck here. I have a vague guess that it could have
someting to do with passing resolution values from u_int or u_long 
to float and vice versa in connection with the TIFF library. 
This library is however brandnew, I just compiled it from latest 
SGI sources before building Hylafax.

Any help or suggestion on this problem would be welcome.

Yours,
         Lars Schmitt




Project hosted by iFAX Solutions