Diese Website existiert nur weil wir Werbung mit AdSense ausliefern.
Bitte den AdBlocker daher auf dieser Website ausschalten! Danke.

KDEprindfax*. doc in PostScript umwandeln

Alles rund um die Systemverwaltung, die Administration und Konfiguration Eures Linuxsystems

Moderator: Moderatoren

Antworten
fmg
Newbie
Newbie
Beiträge: 40
Registriert: 31. Mai 2008, 16:58

KDEprindfax*. doc in PostScript umwandeln

Beitrag von fmg » 4. Jul 2008, 09:09

Ich wollte mein KDEprindfax Programm ausprobieren, um ein Word file zu versenden. Doch es kam folgende Fehlermeldung.
Eingabedateien in PostScript umwandeln

Mime type: application/msword
application/msword: file type not handled
Ich habe die Hp Toolbox und den HP F380 am laufen. Als Fax Modem nutze ich ein 56k-Modem. Brauche ich dafür eine Erweiterung oder gibt es auch so wie bei Windows ein Addon, über das ich dann drucken und das KDEprindfax Programm aufrufen kann?

Vielen Dank für die Hilfe!

Werbung:
Benutzeravatar
whois
Administrator
Administrator
Beiträge: 16603
Registriert: 11. Okt 2004, 08:50
Wohnort: Aachen
Kontaktdaten:

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von whois » 4. Jul 2008, 10:38

Hi

Was steckt da interessehalber für ein Modem drin.

Code: Alles auswählen

hwinfo --modem
cu

fmg
Newbie
Newbie
Beiträge: 40
Registriert: 31. Mai 2008, 16:58

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von fmg » 4. Jul 2008, 12:52

Unter hwinfo --modem bekomme ich folgendes!
43: Serial 00.0: 10200 Modem
[Created at modem.447]
Unique ID: Fyby.KM1shMXflFC
Parent ID: S_Uw.3fyvFV+mbWD
Hardware Class: modem
Model: "AT Modem"
Vendor: int 0x2000 "Unknown"
Device: int 0x0001 "AT Modem"
Device File: /dev/ttyS0
Speed: 115.2 kbps
Init1: ATZ
Init2: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #37 (Serial controller)
Ich habe auch schon Hylafax über Yast installiert und laut der Anleitung von der Homepage http://www.steines.de/linux/hylafax.html zu konfigurieren probiert! Ich habe auch alles via Editor mit geschrieben zur Kontrolle, weil einige Einstellungen sind mir nicht ganz klar!

Code: Alles auswählen

Unter Alt + F2 den Befehl faxsetup als Root ausführen, dann kommt unten stehendes!
###
Setup program for HylaFAX (tm) 4.4.0.

Created for i386-suse-linux-gnu on Sat Sep 22 04:35:31 UTC 2007.

Found converter: /usr/bin/tiff2pdf
Found uuencode encoder: /usr/bin/uuencode
Found base64 encoder: /usr/bin/mimencode
Found Quoted-Printable encoder: /usr/bin/mimencode -q
Looks like /usr/bin/mimencode supports base64 encoding.
Found mimencode for compatibilty: /usr/bin/mimencode
Checking system for proper client configuration.
Checking system for proper server configuration.


Warning: /usr/sbin/egetty does not exist or is not an executable program!

The file:

    /usr/sbin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /usr/sbin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /usr/share/ghostscript/Resource does not exist or is not a directory!

The directory /usr/share/ghostscript/Resource does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile.  Without this information HylaFAX may generate
illegible facsimile from ASCII text.


Make /var/spool/fax/bin/ps2fax a link to /var/spool/fax/bin/ps2fax.gs.


Make /var/spool/fax/bin/pdf2fax a link to /var/spool/fax/bin/pdf2fax.gs.

Update /var/spool/fax/status/any.info.

        HylaFAX configuration parameters are:

        [1] Init script starts faxq:            yes
        [2] Init script starts hfaxd            yes
        [3] Start old protocol:                 no
        [4] Start paging protocol:              no
Are these ok [yes]?  
###
yes
###	eingeben

Modem support functions written to /var/spool/fax/etc/setup.modem.
Configuration parameters written to /var/spool/fax/etc/setup.cache.

No scheduler config file exists, creating one from scratch.
Country code [44]? 44
Area code [****]? ****
Long distance dialing prefix [0]? 0
International dialing prefix [00]? 00
Dial string rules file (relative to /var/spool/fax) [etc/dialrules]? etc/dialrules
Tracing during normal server operation [527]? 527
Default tracing during send and receive sessions [527]? 527
Continuation cover page (relative to /var/spool/fax) [etc/cover.templ]? etc/cover.templ
Timeout when converting PostScript documents (secs) [180]? 180
Maximum number of concurrent jobs to a destination [1]? 1
Define a group of modems ["any"]? "any"
Time of day restrictions for outbound jobs ["any"]? "any"
Pathname of destination controls file (relative to /var/spool/fax) [/var/spool/fax]? /var/spool/fax
Timeout before purging a stale UUCP lock file (secs) [30]? 30
Max number of pages to permit in an outbound job [30]? 30
Syslog facility name for ServerTracing messages [daemon]? daemon

Warning, the destination controls file,

    /var/spool/fax//var/spool/fax

does not exist, or is not a plain file.  This file must
reside in the /var/spool/fax directory tree.

The non-default scheduler parameters are:

CountryCode:            44
AreaCode:               ****
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          527
SessionTracing:         527
ContCoverPage:          etc/cover.templ
DestControls:           /var/spool/fax
MaxSendPages:           30
ModemGroup:             "any"
TimeOfDay:              "any"

Are these ok [yes]?      
yes

Creating new configuration file /var/spool/fax/etc/config...

Restarting HylaFAX server processes.
Should I restart the HylaFAX server processes [yes]? yes

/etc/init.d/hylafax start
Starting service HylaFAX                                             done

You do not appear to have any modems configured for use.  Modems are
configured for use with HylaFAX with the faxaddmodem(8C) command.
Do you want to run faxaddmodem to configure a modem [yes]?      
yes
yes
Serial port that modem is connected to []?   ttyS0
Hmm, there does not appear to be an fuser command on your machine.
This means that I am unable to ensure that all processes using the
modem have been killed.  I will keep going, but beware that you may
have competition for the modem.

Ok, time to setup a configuration file for the modem.  The manual
page config(5F) may be useful during this process.  Also be aware
that at any time you can safely interrupt this procedure.

Reading scheduler config file /var/spool/fax/etc/config.

No existing configuration, let's do this from scratch.


Country code [44]? 44
Area code [****]? ****
Phone number of fax modem [+44 ****** 555-1212]? +44 *********
local identification string (for TSI/CIG) ["NothingSetup"]? Karl Ludwig
Long distance dialing prefix [0]? 0
International dialing prefix [00]? 00
Dial string rules file (relative to /var/spool/fax) [etc/dialrules]? etc/dialrules
Tracing during normal server operation [527]? 527
Tracing during send and receive sessions [527]? 527
Protection mode for received facsimile [0600]? 0600
Protection mode for session logs [0600]? 0600
Protection mode for ttyS0 [0600]? 0600
Rings to wait before answering [1]? 3
Modem speaker volume [off]? off
Command line arguments to getty program ["-h %l dx_%s"]? -r -b -a -s %s %l
Pathname of TSI access control list file (relative to /var/spool/fax) [""]? ""
Pathname of Caller-ID access control list file (relative to /var/spool/fax) [""]? ""
Tag line font file (relative to /var/spool/fax) [etc/lutRS18.pcf]? etc/lutRS18.pcf
Tag line format string ["From %%l|%c|Page %%P of %%T"]? From %%l|%c|Page %%p of %%t
Time before purging a stale UUCP lock file (secs) [30]? 30
Hold UUCP lockfile during inbound data calls [Yes]? yes
Hold UUCP lockfile during inbound voice calls [Yes]? yes
Percent good lines to accept during copy quality checking [95]? 95
Max consecutive bad lines to accept during copy quality checking [5]? 5
Max number of pages to accept in a received facsimile [25]? 25
Syslog facility name for ServerTracing messages [daemon]? daemon
Set UID to 0 to manipulate CLOCAL [""]? yes
Use available priority job scheduling mechanism [""]? yes

The non-default server configuration parameters are:

CountryCode:            44
AreaCode:               ******
FAXNumber:              +44 *********
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          527
SessionTracing:         527
RingsBeforeAnswer:      3
SpeakerVolume:          off
GettyArgs:              -r -b -a -s %s %l
LocalIdentifier:        Karl Ludwig
ClocalAsRoot:           yes
PriorityScheduling:     yes
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          From %%l|%c|Page %%p of %%t
MaxRecvPages:           25
LockDataCalls:          yes
LockVoiceCalls:         yes

Are these ok [yes]?   yes
Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.

About fax classes:

The difference between fax classes has to do with how HylaFAX interacts
with the modem and the fax protocol features that are used when sending
or receiving faxes.  One class isn't inherently better than another;
however, one probably will suit a user's needs better than others.

Class 1 relies on HylaFAX to perform the bulk of the fax protocol.
Class 2 relies on the modem to perform the bulk of the fax protocol.
Class 2.0 is similar to Class 2 but may include more features.
Class 1.0 is similar to Class 1 but may add V.34-fax capability.
Class 2.1 is similar to Class 2.0 but adds V.34-fax capability.

HylaFAX generally will have more features when using Class 1/1.0 than
when using most modems' Class 2 or Class 2.0 implementations.  Generally
any problems encountered in Class 1/1.0 can be resolved by modifications
to HylaFAX, but usually any problems encountered in Class 2/2.0/2.1 will
require the modem manufacturer to resolve it.

Use Class 1 unless you have a good reason not to.

This modem looks to have support for Class 1 and 2.
How should it be configured [1]? 1

Hmm, this looks like a Class 1 modem.
Product code (ATI0) is "OK".
Other information (ATI3) is "Version 1.02 / 16.06.2000".
DTE-DCE flow control scheme [default]?       Modem manufacturer is "Unknown".
Modem model is "Unknown".

Using prototype configuration file class1...

There is no prototype configuration file for your modem, so we will
have to fill in the appropriate parameters by hand.  You will need the
manual for how to program your modem to do this task.  In case you are
uncertain of the meaning of a configuration parameter you should
consult the config(5F) manual page for an explanation.

Note that modem commands must be specified exactly as they are to be
sent to the modem.  Note also that quote marks (") will not be displayed
and will automatically be deleted.  You can use this facility to supply
null parameters as "".

Finally, beware that the set of parameters is long.  If you prefer to
use your favorite editor instead of this script you should fill things
in here as best you can and then edit the configuration file

"/var/spool/fax/etc/config.ttyS0"

after completing this procedure.

Command to enter Class 1 [AT+FCLASS=1]? AT+FCLASS=1
Command to stop and wait prior to sending PPM [AT+FTS=7]? AT+FTS=7
Command to stop and wait prior to sending TCF [AT+FTS=7]? AT+FTS=7
Command to stop and wait prior to sending EOP [AT+FTS=9]? AT+FTS=9
Extra bytes in a received HDLC frame [4]? 4
Maximum time to wait for OK after aborting a receive (ms) [200]? 200
Maximum wait for initial identification frame (ms) [40000]? 40000
Command to ensure silence after receiving HDLC and before sending [AT+FRS=7]? AT+FTS=7

The modem configuration parameters are:

Class1Cmd:              AT+FCLASS=1
Class1PPMWaitCmd:       AT+FTS=7
Class1TCFWaitCmd:       AT+FTS=7
Class1EOPWaitCmd:       AT+FTS=9
Class1FrameOverhead:    4
Class1RecvAbortOK:      200
Class1RecvIdentTimer:   40000
Class1SwitchingCmd:     AT+FTS=7
Class1TCFMaxNonZero:    10
Class1TCFMinRun:        1000

Are these ok [yes]?          yes

Creating new configuration file /var/spool/fax/etc/config.ttyS0...
Creating fifo /var/spool/fax/FIFO.ttyS0 for faxgetty... done.
Done setting up the modem configuration.

Checking /var/spool/fax/etc/config for consistency...
...everything looks ok; leaving existing file unchanged.

Don't forget to run faxmodem(8C) (if you have a send-only environment)
or configure init to run faxgetty on ttyS0.
Do you want to run faxaddmodem to configure another modem [yes]?   no

You do not appear to be using faxgetty to notify the HylaFAX scheduler
about new modems and/or their status.  This means that you must use the
faxmodem program to inform the new faxq process about the modems you
want to have scheduled by HylaFAX.  Beware that if you have modems that
require non-default capabilities specified to faxmodem then you should
read faxmodem(8C) manual page and do this work yourself (since this
script is not intelligent enough to automatically figure out the modem
capabilities and supply the appropriate arguments).

Should I run faxmodem for each configured modem [yes]?               yes
/usr/sbin/faxmodem ttyS0

Done verifying system setup.
Vielleicht kann mir ja irgendjemand helfen, denn nach dem Konfigurieren lässt auch als root kein Fax senden!

Benutzeravatar
whois
Administrator
Administrator
Beiträge: 16603
Registriert: 11. Okt 2004, 08:50
Wohnort: Aachen
Kontaktdaten:

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von whois » 4. Jul 2008, 15:08

Hi

Lies dir das bitte auch mal durch.
Das hat schon sehr oft geholfen wenn auch etwas älter. :wink:

http://www.linux-club.de/viewtopic.php?t=4976

cu

fmg
Newbie
Newbie
Beiträge: 40
Registriert: 31. Mai 2008, 16:58

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von fmg » 4. Jul 2008, 17:39

@whois
Herzlichen Dank für den SUPER Link! Ich habe leider nicht daran gedacht, dass es eine eigene Abteilung vom Hylafax hier gibt!

Ich habe die Liste abgearbeitet wie dort beschrieben mit den Befehlen als Root -->
root:/home/root # setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
root:/home/root # ln -s /dev/ttyS0 /dev/modem
root:/home/root # minicom -s
minicom: WARNING: configuration file not found, using defaults


Welcome to minicom 2.2

OPTIONS: I18n
Compiled on Sep 22 2007, 00:14:00.
Port /dev/modem

Press CTRL-A Z for help on special keys
Danach bleibt der schwarze Bildschirm stehen und keine Taste reagiert ausser CTRL-A Z für die Hilfe.
Was soll ich dann machen?
Danke erst einmal für die Hilfe!!


fmg
Newbie
Newbie
Beiträge: 40
Registriert: 31. Mai 2008, 16:58

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von fmg » 7. Jul 2008, 10:41

Nein ich benutze Suse 10.3 kde.

coogor
Hacker
Hacker
Beiträge: 639
Registriert: 21. Dez 2005, 12:10
Wohnort: Düsseldorf

Re: KDEprindfax*. doc in PostScript umwandeln

Beitrag von coogor » 28. Jul 2008, 15:48

...so wie ich das verstanden hab hat das ganze wenig mit dem Modem, aber dafür mehr mit der Formatumwandlung zu tun.
Ich kenne die HP-Toolbox nicht, aber kprinter liefert im Standard einen Eintrag 'als Fax versenden', welches Dein KDEprintfax im Hintergrund aufruft.
...ggf einen neuen Printer mit
kprnter --stdin
anlegen.

HTH....
V8: More smile per mile

Favorite Toy: ThinkPad T520, Core i7-2640M, 8G RAM, 1600x900, openSUSE Tumbleweed
Member of openSUSE.org

Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast