linux user group brescia

immagine del castello

Archivio della mailing list

R: efax help me

Luciano Lucini luciano a smapfil.it
Gio 20 Nov 2003 08:13:12 UTC
Secondo me non riesce a determinare la classe del modem !!!
Cmq intanto potresti dire che tipo di programma usi e poi vedi se nella
cofigurazione del modem esiste una stringa dove setta la classe
eventualmente impostala a 1 ,perche per esempio con hylafax una volta
installato il pgm devi usare un comando che legge i parametri del modem
con relativa classe e li scrive sul file di configurazione.

Luciano

---------------


Oggetto: efax help me



Salve a tutti, sto cercando disperatamente di fare andare il fax ma
tutto 
sembra vano.

Credo che se un aiuto non arrivera' da voi mi arrendero'.

Non riesco a capire se e' il modem che utilizzo a non andare o se
sbaglio io 
qualche cosa nella configurazione. Il modem e' una scheda isdn che per 
internet va benone, per il fax con win andava.

Ringrazio tutti anticipatamente per l'aiuto che mi vorrete dare.

Ciao, Flavio.

Questo e' il log di kfax:

Spedizione fax utilizzando: /usr/bin/fax NAME='et2k' DEV='modem' PAGE=a4

FROM='' send  '0365761864' '/tmp/kde-et2k/konquerorhDQWWa.ps'

fax: version 0.9001114a7 (30 Jan 2002)
fax: version 0.9001114a7 (30 Jan 2002) /tmp/kde-et2k/konquerorhDQWWa.ps
is postscript... Now sending fax to T0365761864
efax: Wed Nov 19 21:10:45 2003 efax v 0.9a-001114 Copyright 1999 Ed
Casas
efax: 10:45 opened /dev/modem
efax: 10:46 Error: can't determine fax modem class support
efax: 10:46 done, returning 3 (invalid modem response)
There were errors (see T0365761864.log).


e questo รจ il log che salva su disco relativo al tentativo di invio al
numero 
xxy:

efax: Wed Nov 19 21:10:45 2003 efax v 0.9a-001114 Copyright 1999 Ed
Casas
efax: 10:45 compiled Jan 18 2003 16:32:37
efax: 10:45 argv[0]=efax
efax: 10:45 argv[1]=-v
efax: 10:45 argv[2]=ewin
efax: 10:45 argv[3]=-v
efax: 10:45 argv[4]=chewmainrxtf
efax: 10:45 argv[5]=-d/dev/modem
efax: 10:45 argv[6]=-x
efax: 10:45 argv[7]=/tmp/LCK..modem
efax: 10:45 argv[8]=-iZ
efax: 10:45 argv[9]=i&FX3E&D2S7=120
efax: 10:45 argv[10]=-i&C0
efax: 10:45 argv[11]=-iM1L0
efax: 10:45 argv[12]=-l
efax: 10:45 argv[13]=
efax: 10:45 argv[14]=-kZ
efax: 10:45 argv[15]=-h
efax: 10:45 argv[16]=2003/11/19 21:10  et2k p. %d/%d
efax: 10:45 argv[17]=-t
efax: 10:45 argv[18]=T0365761864
efax: 10:45 argv[19]=/tmp/kde-et2k/konquerorhDQWWa.ps.001
efax: 10:45 created text lock file /tmp/LCK..modem
efax: 10:45 opened /dev/modem
efax: 10:45 command  "Q0V1"
efax: 10:45 waiting 2.0 s
efax: 10:45 .584 [<CR><LF>OK<CR><LF>]
efax: 10:45 response "OK"
efax: 10:45 command  "Z"
efax: 10:45 waiting 5.0 s
efax: 10:45 .694 [<CR><LF>OK<CR><LF>]
efax: 10:45 response "OK"
efax: 10:45 command  "E0"
efax: 10:45 waiting 5.0 s
efax: 10:45 .804 [ATE0<CR><CR><LF>]
efax: 10:45 .804 [OK<CR><LF>]
efax: 10:45 response "OK"
efax: 10:45 command  "I3"
efax: 10:45 waiting 5.0 s
efax: 10:45 .914 [<CR><LF>Linux ISDN<CR><LF>]
efax: 10:45 .914 [0<CR><LF>]
efax: 10:45 .914 [OK<CR><LF>]
efax: 10:45 response "OK"
efax: 10:46 command  "+FCLASS=?"
efax: 10:46 waiting 5.0 s
efax: 10:46 .024 [<CR><LF>0,8<CR><LF>]
efax: 10:46 .024 [OK<CR><LF>]
efax: 10:46 response "OK"
efax: 10:46 Error: can't determine fax modem class support
efax: 10:46 command  "Q0V1"
efax: 10:46 waiting 2.0 s
efax: 10:46 .134 [<CR><LF>OK<CR><LF>]
efax: 10:46 response "OK"
efax: 10:46 command  "H"
efax: 10:46 waiting 5.0 s
efax: 10:46 .244 [<CR><LF>OK<CR><LF>]
efax: 10:46 response "OK"
efax: 10:46 read HDB pid 2244 [      2244<LF>] from /tmp/LCK..modem (our
pid)
efax: 10:46 removed lock file /tmp/LCK..modem
efax: 10:46 done, returning 3 (invalid modem response)


e questo e' il file di configurazione efax.rc

# The names of the fax script, efax and efix, including full path # if
necessary. FAX=fax EFAX=efax EFIX=efix

# The device to which the fax modem is connected
DEV=/dev/modem

# Your fax number in international format, 20 characters maximum. # Use
only digits, spaces, and the "+" character. FROM="+39 0123 456789"

# Your name as it should appear on the page header.
NAME="Tizio Tizi"

# The preferred page size for creating and printing faxes.
# Allowed values are "letter", "legal", and "a4".
PAGE=a4

# The type of printer. Use 'pcl' for HP-PCL or 'ps' for
# Postscript.  See definition of PRINT (below) for more options.
PRTYPE=ps                               # Postscript (e.g. Apple
LaserWriter)

# The command to print image files from standard input.  Typically #
this is "lpr" or "lp". PRCMD="lpr"

# The command to view a Portable Gray Map (PGM) image from the #
standard input.  Typically "xv -" or "xloadimage stdin".
VIEWCMD="xloadimage stdin"              # best

# The name of the Ghostscript executable including full path if #
necessary.  Only required if faxing Postscript files. GS=gs

# Dial string prefix and suffix such as T for tone dialing, P for #
pulse dialing, 9 to get an external line, commas for delays or # W to
wait for dial tone. DIALPREFIX="T" DIALSUFFIX=""

# Commands to set up modem.  "-iZ -i&FE&D2S7=120 -i&C0"
# works with almost all modems.  See the efax(1) man page for
# details.
INIT="-iZ i&FX3E&D2S7=120 -i&C0"






Maggiori informazioni sulla lista Lug