Discussion:
Cannot send fax
Bernd Kloss
2006-10-31 06:51:22 UTC
Permalink
Debian-Etch
2.6.17-2-k7
KDE 3.5.5
Staroffice 8
capisuite 0.4.5-5

Hello,

I installed Capisuite and am able to receive faxes.
Also checked, if there is 777 on /var/spool ..... /received and also sendq
When sending faxes an error occurs: "error while printing" in staroffice, also in kdeprintfax.

CAPISUITE.ERROR:

Tue Oct 31 06:40:15 2006 CapiSuite 0xaf916308: CapiSuite 0.4.5 started.
Tue Oct 31 07:09:58 2006 CapiSuite 0xaff553c8: CapiSuite 0.4.5 started.
Tue Oct 31 07:18:49 2006 CapiSuite 0xaff553c8: Error while trying to send mail: (111, 'Connection refused')


CAPISUITE.LOG:

Tue Oct 31 06:40:15 2006 CapiSuite 0xaf916308: CapiSuite 0.4.5 started.
Tue Oct 31 06:40:15 2006 Capi 0x80a0a20: Registered successful at CAPI with ApplId 1
Tue Oct 31 07:09:58 2006 CapiSuite 0xaff553c8: CapiSuite 0.4.5 started.
Tue Oct 31 07:09:58 2006 Capi 0x80a0a20: Registered successful at CAPI with ApplId 1
Tue Oct 31 07:09:58 2006 CapiSuite 0xaff553c8: 1 controllers found
Tue Oct 31 07:18:27 2006 Connection 0x8115028: Connection object created for incoming call PLCI 257 from 069133030 to 815
2274 CIP 0x4
Tue Oct 31 07:18:27 2006 Connection 0x8115028: call from 069133030 to 8152274 for bk connecting with fax
Tue Oct 31 07:18:27 2006 Connection 0x8115028: accepting with service 1
Tue Oct 31 07:18:48 2006 Connection 0x8115028: disconnect initiated
Tue Oct 31 07:18:48 2006 Connection 0x8115028: connection lost with cause 0x3400,0x0
Tue Oct 31 07:18:49 2006 Connection 0x8115028: Connection object deleted


What can I do?
Thankyou

Bernd
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
m***@public.gmane.org
2006-10-31 07:49:10 UTC
Permalink
Post by Bernd Kloss
Debian-Etch
2.6.17-2-k7
KDE 3.5.5
Staroffice 8
capisuite 0.4.5-5
Hello,
I installed Capisuite and am able to receive faxes.
Also checked, if there is 777 on /var/spool ..... /received and also sendq
When sending faxes an error occurs: "error while printing" in staroffice, also in kdeprintfax.
Wie sieht den das Druckkommando in Staroffice aus?
Siehe
http://www.friendglow.net/de/redhat/rhl_so_fax_de.shtml
B_Kloss
2006-10-31 08:16:42 UTC
Permalink
Post by m***@public.gmane.org
Post by Bernd Kloss
Debian-Etch
2.6.17-2-k7
KDE 3.5.5
Staroffice 8
capisuite 0.4.5-5
Hello,
I installed Capisuite and am able to receive faxes.
Also checked, if there is 777 on /var/spool ..... /received and also
sendq When sending faxes an error occurs: "error while printing" in
staroffice, also in kdeprintfax.
Wie sieht den das Druckkommando in Staroffice aus?
Siehe
http://www.friendglow.net/de/redhat/rhl_so_fax_de.shtml
So, wie es da beschrieben ist, war zwar auf einer anderen URL, aber
wortwörtlich.

Bei kdeprintfax kommt:
Fax-Fehler: Lesen Sie bitte die Protokollmeldung, um weitere Informationen zu
erhalten.

Bei Staroffice: Fehler beim Drucken


Aber welche Protokolle/wo soll ich nachschauen? In var/log finde ich nur
capisuite.error und capisuite.log:
Seltsam, ich habe um 7.30 die capiutils dazuinstalliert und jetzt fehlt die
Meldung Connection refused, dennoch kommt die o.g. Fehlermeldung.

capisuite.error:
Tue Oct 31 06:40:15 2006 CapiSuite 0xaf916308: CapiSuite 0.4.5 started.
Tue Oct 31 07:09:58 2006 CapiSuite 0xaff553c8: CapiSuite 0.4.5 started.
Tue Oct 31 07:18:49 2006 CapiSuite 0xaff553c8: Error while trying to send
mail: (111, 'Connection refused')
Tue Oct 31 08:55:00 2006 CapiSuite 0xafd92108: CapiSuite 0.4.5 started.
capipsuite.log

ue Oct 31 07:18:27 2006 Connection 0x8115028: call from 069133030 to 8152274
for bk connecting with fax
Tue Oct 31 07:18:27 2006 Connection 0x8115028: accepting with service 1
Tue Oct 31 07:18:48 2006 Connection 0x8115028: disconnect initiated
Tue Oct 31 07:18:48 2006 Connection 0x8115028: connection lost with cause
0x3400,0x0
Tue Oct 31 07:18:49 2006 Connection 0x8115028: Connection object deleted
Tue Oct 31 08:55:00 2006 CapiSuite 0xafd92108: CapiSuite 0.4.5 started.
Tue Oct 31 08:55:00 2006 Capi 0x80a0a20: Registered successful at CAPI with
ApplId 1

Auch in capisuite.log scheinbar kein Fehler, aber dennoch geht es nicht.

Keine Ahnung, was tun!!
Gruß
Bernd


Anhang:


capiinfo:

Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07 (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem

0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
m***@public.gmane.org
2006-10-31 08:22:48 UTC
Permalink
Post by B_Kloss
Post by m***@public.gmane.org
Post by Bernd Kloss
I installed Capisuite and am able to receive faxes.
Also checked, if there is 777 on /var/spool ..... /received and also
sendq When sending faxes an error occurs: "error while printing" in
staroffice, also in kdeprintfax.
Wie sieht den das Druckkommando in Staroffice aus?
Siehe
http://www.friendglow.net/de/redhat/rhl_so_fax_de.shtml
So, wie es da beschrieben ist, war zwar auf einer anderen URL, aber
wortwörtlich.
Was passiert wenn man auf der Kommandozeile versucht manuell ein pdf zu verschicken?
Also
/usr/bin/capisuitefax -d eigene_Nummer /Pfad/zu/pdf
B_Kloss
2006-10-31 09:10:26 UTC
Permalink
Post by m***@public.gmane.org
Post by B_Kloss
Post by m***@public.gmane.org
Post by Bernd Kloss
I installed Capisuite and am able to receive faxes.
Also checked, if there is 777 on /var/spool ..... /received and also
sendq When sending faxes an error occurs: "error while printing" in
staroffice, also in kdeprintfax.
Wie sieht den das Druckkommando in Staroffice aus?
Siehe
http://www.friendglow.net/de/redhat/rhl_so_fax_de.shtml
So, wie es da beschrieben ist, war zwar auf einer anderen URL, aber
wortwörtlich.
Was passiert wenn man auf der Kommandozeile versucht manuell ein pdf zu
verschicken? Also
/usr/bin/capisuitefax -d eigene_Nummer /Pfad/zu/pdf
Es ist zum Mäusemelken!!!!

Also, ich habe versucht, direkt zu senden und es kommt die Fehlermeldung:
zeus:/treiber/capi# /usr/bin/capisuitefax -d 3241655 /treiber/capi/testfax.ps
Traceback (most recent call last):
  File "/usr/bin/capisuitefax", line 16, in ?
    import cs_helpers
ImportError: No module named cs_helpers
zeus:/treiber/capi#                          

Rumgegoogelt:******************************************************
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385367

capisuitefax currently does not run, it does not find the
cs_helper module.

Reason: Debian now uses python 2.4, while capisuitfax puts the module in the
python 2.3 path. (Workaround:  run   python2.3 capisuitefax ...)***********

Aber jetzt habe ich wieder ein Problem! Die Realisierung dieses Workarounds!
Wie??

Gruß
Bernd
m***@public.gmane.org
2006-10-31 09:23:10 UTC
Permalink
Post by B_Kloss
Rumgegoogelt:******************************************************
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385367
capisuitefax currently does not run, it does not find the
cs_helper module.
Reason: Debian now uses python 2.4, while capisuitfax puts the module in the
python 2.3 path. (Workaround: run python2.3 capisuitefax ...)***********
Aber jetzt habe ich wieder ein Problem! Die Realisierung dieses Workarounds!
Entweder gibt es /usr/bin/python2.3 oder man kopiert /usr/lib/python2.3/site-packages/cs_helpers.py nach /usr/lib/python2.4/site-packages/cs_helpers.py
Ob die Pfade auf einem Debian nun exakt gleich sind weiss ich nicht, hier läuft Suse.
B_Kloss
2006-10-31 10:25:00 UTC
Permalink
Post by m***@public.gmane.org
Post by B_Kloss
Rumgegoogelt:******************************************************
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385367
capisuitefax currently does not run, it does not find the
cs_helper module.
Reason: Debian now uses python 2.4, while capisuitfax puts the module in
the python 2.3 path. (Workaround: run python2.3 capisuitefax
...)***********
Aber jetzt habe ich wieder ein Problem! Die Realisierung dieses Workarounds!
Entweder gibt es /usr/bin/python2.3 oder man kopiert
/usr/lib/python2.3/site-packages/cs_helpers.py nach
/usr/lib/python2.4/site-packages/cs_helpers.py Ob die Pfade auf einem
Debian nun exakt gleich sind weiss ich nicht, hier läuft Suse.
Danke für die Tipps! Habe eine Lösung gefunden!!
Im capisuitefax-Skript steht:
#!/usr/bin/python
Das heisst: wann immer das skript gestartet wird, wird in Wirklichkeit
der Befehl
/usr/bin/python /usr/bin/capisuitefax ...
ausgeführt. Es reicht also, in der ersten Zeile
#!/usr/bin/python2.3
einzutragen - ab sofort wird immer
/usr/bin/python2.3 /usr/bin/capisuitefax ...
ausgeführt, wenn das skript von der shell gestartet wird.


Viele Grüße

Bernd Kloss

Loading...