Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-21 Diskussionsfäden Martin Reising

On Thu, Jun 20, 2002 at 05:37:07PM +0200, Sebastian Schinzel wrote:

Cups und foomatic sind laut log ok.

 D [20/Jun/2002:17:19:01 +0200] foomatic-gswrapper: gs '-sDEVICE=ppmraw'
 '-dNOPAUSE' '-dSAFER' '-dBATCH' '-r600' '-sOutputFile=/dev/fd/3'
 '/dev/fd/0' 31 12

Aber ghostscript gefällt das Postscript nicht:

 D [20/Jun/2002:17:19:07 +0200] Error: /ioerror in --.outputpage--
[ghostscript stacktrace gelöscht]
 D [20/Jun/2002:17:19:07 +0200] GNU Ghostscript 6.53: Unrecoverable
 error, exit code 1

Kannst du die Postscriptdatei mit gs unfallfrei anzeigen lassen?
Wenn das funktioniert probier mal:

gs '-sDEVICE=ppmraw' '-dNOPAUSE' '-dSAFER' '-dBATCH' '-r600' 
'-sOutputFile=/tmp/output.raw' postscriptdatei

Wenn das eine hinreichend große Datei /tmp/output.raw erzeugt ist
ghostscript ok und der Fehler liegt bei pnm2ppa bzw. bei dessen Einbindung
in Cups oder der Druckeransteuerung über die parport0.


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-20 Diskussionsfäden Sebastian Schinzel

Hallo,

 
 Ich hatte mal das gleiche Problem mit einem HP Deskjet Drucker. Erst als den 
 debug level in cups erhöht hatte kam eine ungenaue Fehlermeldung. Ich hatte 
 vergessen hpijs zu installieren.
 
 apt-get installl hpijs

das Packet hpijs und das Packet pnm2ppa habe ich noch installiert.
Ausserdem hab ich den Debug-Level von Cups hochgeschraubt. Ich kriege
immernoch folgenden Fehler:

***

D [20/Jun/2002:17:19:01 +0200] perl: warning: Please check that your
locale settings:
D [20/Jun/2002:17:19:01 +0200] LANGUAGE = (unset),
D [20/Jun/2002:17:19:01 +0200] LC_ALL = (unset),
D [20/Jun/2002:17:19:01 +0200] LANG = c
D [20/Jun/2002:17:19:01 +0200] are supported and installed on your
system.
D [20/Jun/2002:17:19:01 +0200] perl: warning: Falling back to the
standard locale (C).
D [20/Jun/2002:17:19:01 +0200] foomatic-gswrapper: gs '-sDEVICE=ppmraw'
'-dNOPAUSE' '-dSAFER' '-dBATCH' '-r600' '-sOutputFile=/dev/fd/3'
'/dev/fd/0' 31 12
D [20/Jun/2002:17:19:01 +0200] GNU Ghostscript 6.53 (2002-02-13)
D [20/Jun/2002:17:19:01 +0200] Copyright (C) 2002 artofcode LLC,
Benicia, CA. All rights reserved.
D [20/Jun/2002:17:19:01 +0200] This software comes with NO WARRANTY: see
the file COPYING for details.
D [20/Jun/2002:17:19:02 +0200] Loading NimbusSanL-Bold font from
/var/lib/defoma/gs.d/dirs/fonts/n019004l.pfb... 2012952 625312 1642520
350710 0 done.
D [20/Jun/2002:17:19:02 +0200] Loading NimbusSanL-Regu font from
/var/lib/defoma/gs.d/dirs/fonts/n019003l.pfb... 2053144 670632 1642520
351291 0 done.
D [20/Jun/2002:17:19:02 +0200] Loading NimbusRomNo9L-Regu font from
/var/lib/defoma/gs.d/dirs/fonts/n021003l.pfb... 2113432 728622 1642520
351882 0 done.
D [20/Jun/2002:17:19:02 +0200] Loading NimbusSanL-BoldItal font from
/var/lib/defoma/gs.d/dirs/fonts/n019024l.pfb... 2173720 785087 1662616
360840 0 done.
D [20/Jun/2002:17:19:07 +0200] Error: /ioerror in --.outputpage--
D [20/Jun/2002:17:19:07 +0200] Operand stack:
D [20/Jun/2002:17:19:07 +0200] 416.5   308.0   306.0   748.0   306.0  
55.0   51.0   1   true
D [20/Jun/2002:17:19:07 +0200] Execution stack:
D [20/Jun/2002:17:19:07 +0200] %interp_exit   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2  
%stopped_push   --nostringval--   --nostringval--   --nostringval--  
false   1   %stopped_push   1   3   %oparray_pop   1   3  
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   7   3   %oparray_pop   --nostringval--  
--nostringval--   --nostringval--   --nostringval--
D [20/Jun/2002:17:19:07 +0200] Dictionary stack:
D [20/Jun/2002:17:19:07 +0200] --dict:1038/1476(ro)(G)--  
--dict:0/20(G)--   --dict:86/200(L)--
D [20/Jun/2002:17:19:07 +0200] Current allocation mode is local
D [20/Jun/2002:17:19:07 +0200] Last OS error: 32
D [20/Jun/2002:17:19:07 +0200] GNU Ghostscript 6.53: Unrecoverable
error, exit code 1
D [20/Jun/2002:17:19:07 +0200] Couldn't exec foomatic-gswrapper 
-sDEVICE=ppmraw  -q -dNOPAUSE -dSAFER -dBATCH -r600  -sOutputFile=- - |
pnm2ppa  -v 720 -f /etc/pnm2ppa.conf   --eco -F
/etc/pnm2ppa.gamma_normal   -B 2   -t 10 -b 150 -l 10 -r 10 -x 160 -y 50
-i - -o - at /usr/lib/cups/filter/cupsomatic line 965.
D [20/Jun/2002:17:19:07 +0200] Main process finished

***

Kann da jemand was mit anfangen? Hab ich noch ein Packet vergessen? Ich
habe so ziemlich alles, was irgendwie mit HP zu tun haben könnte in
dselect installiert... 

Weiss jemand ein paar Links zu diesem Thema? Ich habe eigentlich schon
öfter Cups auf RedHat und Debian installiert, aber ich kann mich nicht
daran erinnern, daß das so hektisch war. Trotz heftigem googlen habe ich
nichts gefunden und die CUPS-Doku gibt herzlich wenig diesbezüglich von
sich...

 Dann klappte es aich mit dem Drucken. (c)

Leider noch nicht, aber hoffentlich bald...

 
 ;-)
 
 Gruss,
 Michael
 

Viele Grüsse,

Basti
 
 -- 
 Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
 




--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-20 Diskussionsfäden Thomas Kobienia

Hallo Sebastian!

On Thu, 20 Jun 2002, Sebastian Schinzel wrote:

 D [20/Jun/2002:17:19:07 +0200] Error: /ioerror in --.outputpage--
 D [20/Jun/2002:17:19:07 +0200] Operand stack:
 D [20/Jun/2002:17:19:07 +0200] 416.5   308.0   306.0   748.0   306.0  
 55.0   51.0   1   true
 D [20/Jun/2002:17:19:07 +0200] Execution stack:
 D [20/Jun/2002:17:19:07 +0200] %interp_exit   .runexec2  
 --nostringval--   --nostringval--   --nostringval--   2  
 %stopped_push   --nostringval--   --nostringval--   --nostringval--  
 false   1   %stopped_push   1   3   %oparray_pop   1   3  
 %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--  
 --nostringval--   --nostringval--   2   %stopped_push  
 --nostringval--   7   3   %oparray_pop   --nostringval--  
 --nostringval--   --nostringval--   --nostringval--
 D [20/Jun/2002:17:19:07 +0200] Dictionary stack:
 D [20/Jun/2002:17:19:07 +0200] --dict:1038/1476(ro)(G)--  
 --dict:0/20(G)--   --dict:86/200(L)--
 D [20/Jun/2002:17:19:07 +0200] Current allocation mode is local
 D [20/Jun/2002:17:19:07 +0200] Last OS error: 32

Das ist erstmal der Beginn der Fehler.

 D [20/Jun/2002:17:19:07 +0200] GNU Ghostscript 6.53: Unrecoverable
 error, exit code 1
 D [20/Jun/2002:17:19:07 +0200] Couldn't exec foomatic-gswrapper 
 -sDEVICE=ppmraw  -q -dNOPAUSE -dSAFER -dBATCH -r600  -sOutputFile=- - |
 pnm2ppa  -v 720 -f /etc/pnm2ppa.conf   --eco -F
 /etc/pnm2ppa.gamma_normal   -B 2   -t 10 -b 150 -l 10 -r 10 -x 160 -y 50
 -i - -o - at /usr/lib/cups/filter/cupsomatic line 965.

In der zweiten Zeile steht der Grund für den Druckabbruch.
Couldn't exec foomatic-gswrapper

Das heisst bei dir fehlt noch das Paket foomatic-bin oder es stimmt
etwas an den Pfaden oder Rechten nicht.

Tschuess ...
-- 
Thomas Kobienia [EMAIL PROTECTED] http://my.dex.de/~tk/
http://www.dex.de/


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-20 Diskussionsfäden Michael Koch

 Kann da jemand was mit anfangen? Hab ich noch ein Packet vergessen? Ich
 habe so ziemlich alles, was irgendwie mit HP zu tun haben könnte in
 dselect installiert...

 Weiss jemand ein paar Links zu diesem Thema? Ich habe eigentlich schon
 öfter Cups auf RedHat und Debian installiert, aber ich kann mich nicht
 daran erinnern, daß das so hektisch war. Trotz heftigem googlen habe ich
 nichts gefunden und die CUPS-Doku gibt herzlich wenig diesbezüglich von
 sich...

Hast du foomatic-bin installiert ? Da ist foomatic-gswrapper drin.
Überhaupt sind die foomatic-Pakete keine schlechte Idee.


Gruss,
Michael


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-20 Diskussionsfäden Sebastian Schinzel

Hallo Thomas,

 Das ist erstmal der Beginn der Fehler.

Ok!
 
  D [20/Jun/2002:17:19:07 +0200] GNU Ghostscript 6.53: Unrecoverable
  error, exit code 1
  D [20/Jun/2002:17:19:07 +0200] Couldn't exec foomatic-gswrapper 
  -sDEVICE=ppmraw  -q -dNOPAUSE -dSAFER -dBATCH -r600  -sOutputFile=- - |
  pnm2ppa  -v 720 -f /etc/pnm2ppa.conf   --eco -F
  /etc/pnm2ppa.gamma_normal   -B 2   -t 10 -b 150 -l 10 -r 10 -x 160 -y 50
  -i - -o - at /usr/lib/cups/filter/cupsomatic line 965.
 
 In der zweiten Zeile steht der Grund für den Druckabbruch.
 Couldn't exec foomatic-gswrapper
 
 Das heisst bei dir fehlt noch das Paket foomatic-bin oder es stimmt
 etwas an den Pfaden oder Rechten nicht.

foomatic-bin und foomatic-db sind installiert.


basti-notebook:/usr/lib/X11/fonts# ls -la /usr/bin/foomatic-gswrapper
-rwxr-xr-x1 root root 1593 25. Apr 11:43
/usr/bin/foomatic-gswrapper


$ dpkg-reconfigure foomatic-bin
--manual changes  : parse
--logging:  no
--command for converting: a2ps (ist installiert)
--postscript accounting for cups: no

Fehlermeldung ist nach, wie vor:


D [20/Jun/2002:20:24:10 +0200] Last OS error: 32
D [20/Jun/2002:20:24:10 +0200] GNU Ghostscript 6.53: Unrecoverable
error, exit code 1
D [20/Jun/2002:20:24:10 +0200] Couldn't exec foomatic-gswrapper 
-sDEVICE=ppmraw  -q -dNOPAUSE -dSAFER -dBATCH -r600  -sOutputFile=- - |
pnm2ppa  -v 720 -f /etc/pnm2ppa.conf   --eco -F
/etc/pnm2ppa.gamma_normal   -B 2   -t 10 -b 150 -l 10 -r 10 -x 160 -y 50
-i - -o - at /usr/lib/cups/filter/cupsomatic line 965.


in /usr/lib/cups/filter/cupsomatic Zeile 965 steht:


 # Actually run the thing...
system $commandline
and die Couldn't exec $commandline;
close STDOUT;
close KID4;
close STDIN;
close KID3_IN;
*

Ich weiss langsam echt nicht mehr weiter...
Wie gesagt. Ich sitze gleichzeitig an zwei Rechnern und da ist bei
beiden das selbe Problem...

Viele Grüße,

Basti


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Bitte um Hilfe bei Druckerinstallation unter CUPS _und_ LPD

2002-06-20 Diskussionsfäden Sebastian Schinzel

Hallo Michael,

 Und du hast auch die aktuellsten Versionen ?

Die brandneuen Versionen von ftp.de.debian.org...

Viele Grüße,

Basti


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)