[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gs-esp für CUPS



Adrian Bunk <bunk@fs.tum.de> wrote:

Hi Adrian,

> > wie kann ich CUPS dazu veranlassen, gs-esp zu benutzen anstellen von
> > gs?
> > 
> > Ich habe nämlich eben gs-esp (7.05.4) installiert, aber das device
> 
> laeuft bei dir testing oder woody plus manuell installiertes gs-esp?

Bei mir läuft unstable, aber jetzt ist es nach testing downgegraded.
Sprich: Alles (auch cups 1.1.15) ist unstable, aber gs-esp ist eben
runtergeladen und testing. Ebenso foomatic-bin und foomatic-db mit denen
ich vorhin den Treiber für den HL 1250 erst bekam.

> > hl1250 (für meinen Brother HL-1250) scheint gs nicht zu kennen:
> > 
> > Unknown device: hl1250 steht in /var/log/cups/error_log.
> >...
> 
> Das Device hl1250 kennt selbst gs in woody.

Hm, hier nicht:

pollux:/usr/bin# gs --help | grep 1250
pollux:/usr/bin# gs --version         
7.04

gs verweist (wohl) auf gs-aladdin.

> Kannst du ein paar Zeilen der Fehlermeldungen schicken?

Ja:
####################/var/log/cups/error_log############################
D [17/Dec/2002:12:34:04 +0100] foomatic-gswrapper: gs '-dBATCH' '-dSAFER'
'-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=0' '-dSourceTray=0'
'-dPaperType=0' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [17/Dec/2002:12:34:05 +0100] AFPL Ghostscript 7.04 (2002-01-31)
D [17/Dec/2002:12:34:05 +0100] Copyright (C) 2001 artofcode LLC, Benicia,
CA.  All rights reserved. 
D [17/Dec/2002:12:34:05 +0100] This software comes with NO WARRANTY: see
the file PUBLIC for details.
D[17/Dec/2002:12:34:05 +0100] Unknown device: hl1250
D[17/Dec/2002:12:34:05 +0100] Couldn't exec foomatic-gswrapper
-q-dBATCH-dSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=0
-dSourceTray=0-dPaperType=0 -sOutputFile=- - at
/usr/lib/cups/filter/cupsomatic line 1018.
####################################################################

Also gibt es zwei error: einmal "Unknown device: hl1250" und zweitens:
"Couldn't exec foomatic-gswrapper -q-dBATCH-dSAFER -dNOPAUSE
-sDEVICE=hl1250 -dEconoMode=0-dSourceTray=0-dPaperType=0 -sOutputFile=- -
at/usr/lib/cups/filter/cupsomatic line 1018."

In /usr/lib/cups/filter/cupsomatic steht an Linie 1018:

system "$commandline"

Aha, und $commandline heißt in Linie 718 

$commandline =~ s!\%$spot!$cmdvar\%$spot!;

Es gibt also zwei Probleme. Sagt dir das was?

TIA^2 Martin
-- 
  www.bretschneidernet.de    OpenPGP_0x4EA52583    jabber_breti@jabber.org
           (o_.'  (0_                      Mark Twain:
           //\c{} //\               Where prejudice exists it
           V__)_  V_/_           always discolors our thoughts.

Attachment: pgpXNLWXPjkmA.pgp
Description: PGP signature


Reply to: