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] HylaFax-Faxmail, adjust quality



Am Fr 20.05.2005 16:00 schrieb Bodo Meissner <bodo@xxxxxxxxx>:

Hi@all,

>>>>Try adding
>>>>Class1ExtendedRes. yes
>>>>in etc/config.<devid>

>>>my device is faxCAPI -> edit config.faxCAPI
>
>>However, since you use capi, I don't know if anything of above
>>applies since if I remember well capi works by taking over from
>>HylaFAX binaries well before these settings would be used.

>With CAPI Hylafax does not read config.faxCAPI. It only checks for
>existence of this file. Hylafax will call c2faxsend instead of it's own
>faxsend program.

>Capi4hylafax can send normal (98 lines/inch) and fine (or medium 196
>lines/inch) resolution. (I did not try extended resolutions yet.)

>How does your faxmail system submit your fax jobs? Does it call
>sendfax? Maybe you can add option "-m" to the sendfax command line.

In my /var/spool/fax/etc exist config files:


-rw-r--r--   1 fax  dialout    256 May 17 16:48 config
-rw-r--r--   1 fax  dialout    256 May 17 14:05 config.c2fax
-rw-r--r--   1 fax  dialout  15457 May 20 15:38 config.faxCAPI
-rw-r--r--   1 fax  dialout  15433 May 17 16:48 config.faxCAPI.c2fax

In config and config.c2fax are:

LogFacility:            hylafax
CountryCode:
AreaCode:               7223
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        "etc/dialrules"
ServerTracing:          1
SessionTracing:         1
ContCoverPage:          etc/cover.tmpl
MaxSendPages:           30
SendFaxCmd:             /var/spool/fax/bin/faxsend


In the file /var/spool/fax/bin/faxsend are:

#!/bin/sh
#
# This script is a wrapper to call the correct faxsend
# program, depending of the modem type
#
PARA=$*
SENDFAX=/usr/lib/fax/faxsend

m_found="no"
while [ $# -gt 0 ]; do
   case $1 in
       "-m")
           m_found="yes"
           ;;
       faxCAPI*)
           if [ "$m_found" = "yes" ]; then
               SENDFAX=/usr/bin/c2faxsend
           fi
           m_found="no"
           ;;
       *)
           m_found="no"
           ;;
   esac
   shift
done

$SENDFAX $PARA

It ist possible to adjust the quality?

with best regards
sven


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




Project hosted by iFAX Solutions