OECHER COMPUTER 24 F DRUCKPROBLEME MIT CUPS VIEL TEXT
From: Stefan Longerich (stefan.longerich@no-spam)
Subject: F: Druckprobleme mit Cups (Viel Text!)
Date: Wed, 09 Jul 2003 22:57:24 +0200


Hi!

Aus Mangel an USB-Schnittstellen an meimem Router will ich meinen Epson Stylus C62 unter SuSE 8.1 und Cups 1.1.19 an der parallelen Schnittstelle betreiben....
Das Anlegen und konfigurieren des Druckers scheint problemlos zu sein (Auszug aus der error_log von Cups):

Setting c62 device-uri to "parallel:/dev/lp0" (was "file:/dev/null".)
Setting c62 printer-is-accepting-jobs to 1 (was 0.)
Setting c62 printer-state to 3 (was 5.)
add_printer: Copied PPD file successfully!
Saving printers.conf...
New printer 'c62' added by 'root'.

Das entsprechende ppd-File habe ich von linuxprinting.org. Da wird es als "works perfectly" deklariert.
Als Beispiel hier das Drucken der Testseite vom Webinterface aus - das gleiche Problem hab ich aber auch bei allen anderen Druckaufträgen (auch wieder aus der error_log, wahrscheinlich unnötig lang, aber vielleicht versteckt sich ja irgendwo ne Information, die ich übersehe):

ReadClient() 12 GET /printers/c62?op=print-test-page HTTP/1.1
CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 19878
Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=19878)
SendCommand() 12 file=10
AcceptClient() 9 from localhost:631.
ReadClient() 9 POST /printers/c62 HTTP/1.1
print_job: request file type is application/postscript.
check_quotas: requesting-user-name = 'root'
print_job: requesting-user-name = 'root'
Adding default job-sheets values "none,none"...
Adding start banner page "none" to job 1.
Adding end banner page "none" to job 1.
Job 1 queued on 'c62' by 'root'.
Job 1 hold_until = 0
StartJob(1, 0x8159d40)
StartJob() id = 1, file = 0/1
job-sheets=none,none banner_page = 0
StartJob: argv = "c62","1","root","Test Page","1","","/var/spool/cups/d00001-001"
StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
StartJob: envp[1]="SOFTWARE=CUPS/1.1"
StartJob: envp[2]="USER=root"
StartJob: envp[3]="CHARSET=iso-8859-1"
StartJob: envp[4]="LANG=en"
StartJob: envp[5]=""
StartJob: envp[6]="PPD=/etc/cups/ppd/c62.ppd"
StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
StartJob: envp[8]="RIP_MAX_CACHE=8m"
StartJob: envp[9]="TMPDIR=/var/spool/cups/tmp"
StartJob: envp[10]="CONTENT_TYPE=application/postscript"
StartJob: envp[11]="DEVICE_URI=parallel:/dev/lp0"
StartJob: envp[12]="PRINTER=c62"
StartJob: envp[13]="CUPS_DATADIR=/usr/share/cups"
StartJob: envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
StartJob: statusfds = [ 19 21 ]
StartJob: filterfds[1] = [ 22 -1 ]
StartJob: filter = "/usr/lib/cups/filter/pstops"
StartJob: filterfds[0] = [ 23 24 ]
start_process("/usr/lib/cups/filter/pstops", 0xbffef930, 0xbffeeca0, 22,
24, 21)
Started filter /usr/lib/cups/filter/pstops (PID 19879) for job 1.
StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
StartJob: filterfds[1] = [ 22 25 ]
start_process("/usr/lib/cups/filter/foomatic-rip", 0xbffef930,
0xbffeeca0, 23, 25, 21)
Started filter /usr/lib/cups/filter/foomatic-rip (PID 19880) for job 1.
StartJob: backend = "/usr/lib/cups/backend/parallel"
StartJob: filterfds[0] = [ -1 23 ]
start_process("/usr/lib/cups/backend/parallel", 0xbffef930, 0xbffeeca0,
22, 23, 21)
Started backend /usr/lib/cups/backend/parallel (PID 19881) for job 1.
ProcessIPPRequest: 9 status_code=0
ReadClient() 6 GET /cups.css HTTP/1.1
SendError() 6 code=404
CloseClient() 6
ReadClient() 13 GET /images/navbar.gif HTTP/1.1
SendFile() 13 file=6
CloseClient() 9
[Job 1] Page = 595x842; 9,9 to 586,842
[Job 1] slowcollate=0, slowduplex=0, sloworder=0
[Job 1] 0 %%BoundingBox: 0 0 612 792
[Job 1] 0 %%Pages: 1
[Job 1] 0 %%LanguageLevel: 1
[Job 1] 0 %%DocumentData: Clean7Bit [Job 1] 0 %%DocumentSuppliedResources: procset testprint/1.0
[Job 1] 0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman [Job 1] 0 %%Creator: Michael Sweet, Easy Software Products [Job 1] 0 %%CreationDate: May 11, 1999
[Job 1] 0 %%Title: Test Page [Job 1] 0 %%EndComments [Job 1] 0 %%BeginProlog [Job 1] 0 %%BeginResource procset testprint 1.1 0
[Job 1] 0 %%EndResource [Job 1] 0 %%EndProlog [Job 1] 0 %%Page: 1 1
[Job 1] 0 %%Page: 1 1
[Job 1] pw = 577.0, pl = 833.0
[Job 1] PageLeft = 9.0, PageRight = 586.0
[Job 1] PageTop = 842.0, PageBottom = 9.0
[Job 1] PageWidth = 595.0, PageLength = 842.0
[Job 1] foomatic-rip version $Revision: 3.26 $ running...
[Job 1] Parsing PPD file ...
[Job 1] Added option ColorSpace [Job 1] Added option PageSize [Job 1] Added option PageRegion [Job 1] Added option Model [Job 1] Added option PrintoutMode [Job 1] Added option ImageableArea [Job 1] Added option PaperDimension [Job 1] Added option MediaType [Job 1] Added option InkType [Job 1] Added option stpGamma [Job 1] Added option Density [Job 1] Added option stpBrightness [Job 1] Added option stpSaturation [Job 1] Added option Contrast [Job 1] Added option Cyan [Job 1] Added option Magenta [Job 1] Added option Yellow [Job 1] Added option GSResolution [Job 1] Added option Quality [Job 1] Added option OutputType [Job 1] Added option ImageType [Job 1] Added option Dither [Job 1] Added option Font [Job 1] [Job 1] Parameter Summary [Job 1] -----------------
[Job 1] [Job 1] Spooler: cups [Job 1] Printer: c62
[Job 1] PPD file: /etc/cups/ppd/c62.ppd [Job 1] Printer model: Epson Stylus C62 Foomatic/gimp-print (recommended)
[Job 1] Job title: Test Page [Job 1] File(s) to be printed:
[Job 1] <STDIN>
[Job 1] [Job 1] [Job 1] ================================================
[Job 1] [Job 1] File: <STDIN>
[Job 1] [Job 1] ================================================
[Job 1] [Job 1] Reading PostScript input ...
[Job 1] --> This document is DSC-conforming!
[Job 1] [Job 1] -----------
[Job 1] Found: %%BeginProlog [Job 1] Found: %%EndProlog [Job 1] [Job 1] -----------
[Job 1] Found: %%BeginSetup [Job 1] Inserting PostScript code for CUPS' page accounting [Job 1] Found: %%BeginFeature: *PrintoutMode Normal [Job 1] Option: PrintoutMode=Normal --> Setting option [Job 1] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal [Job 1] Option: PrintoutMode=Normal --> Setting option [Job 1] Found: %%BeginFeature: *InkType CMYK [Job 1] Option: InkType=CMYK --> Option will be set by PostScript interpreter [Job 1] Found: %%BeginFeature: *MediaType Plain [Job 1] Option: MediaType=Plain --> Option will be set by PostScript interpreter [Job 1] Found: %%BeginFeature: *PageSize A4
[Job 1] Option: PageSize=A4 --> Option will be set by PostScript interpreter [Job 1] Found: %%BeginFeature: *Dither FromPrintoutMode [Job 1] Option: Dither=FromPrintoutMode --> Option will be set by PostScript interpreter [Job 1] Found: %% FoomaticRIPOptionSetting: Dither=@no-spam [Job 1] Option: Dither=FromPrintoutMode --> Looking up setting in composite option 'PrintoutMode'
[Job 1] Found: %%BeginFeature: *GSResolution FromPrintoutMode [Job 1] Option: GSResolution=FromPrintoutMode --> Option will be set by PostScript interpreter [Job 1] Found: %% FoomaticRIPOptionSetting: GSResolution=@no-spam [Job 1] Option: GSResolution=FromPrintoutMode --> Looking up setting in composite option 'PrintoutMode'
[Job 1] Found: %%BeginFeature: *ImageType FromPrintoutMode [Job 1] Option: ImageType=FromPrintoutMode --> Option will be set by PostScript interpreter [Job 1] Found: %% FoomaticRIPOptionSetting: ImageType=@no-spam [Job 1] Option: ImageType=FromPrintoutMode --> Looking up setting in composite option 'PrintoutMode'
[Job 1] Found: %%BeginFeature: *OutputType FromPrintoutMode [Job 1] Option: OutputType=FromPrintoutMode --> Option will be set by PostScript interpreter [Job 1] Found: %% FoomaticRIPOptionSetting: OutputType=@no-spam [Job 1] Option: OutputType=FromPrintoutMode --> Looking up setting in composite option 'PrintoutMode'
[Job 1] Found: %%BeginFeature: *Quality FromPrintoutMode [Job 1] Option: Quality=FromPrintoutMode --> Option will be set by PostScript interpreter [Job 1] Found: %% FoomaticRIPOptionSetting: Quality=@no-spam [Job 1] Option: Quality=FromPrintoutMode --> Looking up setting in composite option 'PrintoutMode'
[Job 1] Found: %%EndSetup [Job 1] [Job 1] -----------
[Job 1] New page: 1 1
[Job 1] No page header or page header not DSC-conforming [Job 1] 0 %%EOF [Job 1] Saw EOF!
[Job 1] Stopping search for page header options [Job 1] Found:
[Job 1] pageHeight sub % Move down...
[Job 1] --> Output goes directly to the renderer now.
[Job 1] [Job 1] [Job 1] Starting renderer [Job 1] JCL: <job data>
[Job 1] [Job 1] renderer PID pid4=19883
[Job 1] renderer command: gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=stp -sModel=escp2-c62 -sOutputFile=- -
[Job 1] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dNOPAUSE' '-dBATCH'
'-sDEVICE=stp' '-sModel=escp2-c62' '-sOutputFile=| cat >&3' '/dev/fd/0'
3>&1 1>&2
[Job 1] ESP Ghostscript 7.05 (2002-06-28)
[Job 1] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
[Job 1] This software comes with NO WARRANTY: see the file COPYING for details.
ReadClient() 14 GET /printers/c62 HTTP/1.1
CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 19886
Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=19886)
SendCommand() 14 file=9
AcceptClient() 6 from localhost:631.
ReadClient() 6 POST / HTTP/1.1
ProcessIPPRequest: 6 status_code=0
ReadClient() 11 GET /cups.css HTTP/1.1
SendError() 11 code=404
CloseClient() 11
ReadClient() 15 GET /images/navbar.gif HTTP/1.1
SendFile() 15 file=10
ReadClient() 6 POST / HTTP/1.1
ProcessIPPRequest: 6 status_code=1
ReadClient() 6 POST / HTTP/1.1
ProcessIPPRequest: 6 status_code=0
D [09/Jul/2003:22:05:57 +0200] ReadClient() 5 GET /images/stop-printer.gif HTTP/1.1
SendFile() 5 file=10
ReadClient() 16 GET /images/left.gif HTTP/1.1
SendFile() 16 file=11
ReadClient() 17 GET /images/right.gif HTTP/1.1
SendFile() 17 file=21
ReadClient() 18 GET /images/printer-processing.gif HTTP/1.1
SendFile() 18 file=22
ReadClient() 20 GET /images/print-test-page.gif HTTP/1.1
SendFile() 20 file=23
AcceptClient() 24 from 10.0.0.2:631.
ReadClient() 12 GET /images/reject-jobs.gif HTTP/1.1
SendFile() 12 file=25
ReadClient() 13 GET /images/modify-printer.gif HTTP/1.1
SendFile() 13 file=26
ReadClient() 15 GET /images/config-printer.gif HTTP/1.1
SendFile() 15 file=27
AcceptClient() 28 from 10.0.0.2:631.
ReadClient() 24 GET /images/delete-printer.gif HTTP/1.1
SendFile() 24 file=10
ReadClient() 28 GET /images/add-printer.gif HTTP/1.1
SendFile() 28 file=11
CloseClient() 6
ReadClient() 14 GET /images/hold-job.gif HTTP/1.1
SendFile() 14 file=6
ReadClient() 16 GET /images/cancel-job.gif HTTP/1.1
SendFile() 16 file=9
ReadClient() 17 GET /images/show-completed.gif HTTP/1.1
SendFile() 17 file=10
[Job 1] Printer escp2-c62 is not a known model [Job 1] **** Unable to open the initial device, quitting.
[Job 1] renderer return value: 1
[Job 1] renderer received signal: 1
[Job 1] Process dieing with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
[Job 1] Possible error on renderer command line or PostScript error.
Check options.
[Job 1] tail process done writing data to STDOUT [Job 1] KID4 finished [Job 1] Flushing FIFO.
[Job 1] [Job 1] Closing renderer [Job 1] KID3 exited with status 3
[Job 1] Renderer exit stat: 3
[Job 1] Renderer process finished [Job 1] Process dieing with "Error closing renderer", exit stat: 3
[Job 1] Error closing renderer PID 19880 stopped with status 3!
UpdateJob: job 1, file 0 is complete.
CancelJob: id = 1
StopJob: id = 1, force = 0
StopJob: printer state is 3

Ich kann sowohl mit den beiden SendError als auch mit dem "unable to open the initial device" was anfangen...

Zur Problembegrenzung vielleicht sinnvoll:

- das "Hello World" beim Test des lp0 druckt er problemlos aus - beim Verwenden des ppd für den C60 druckt er zumindesd ASCII - RAW bekomm ich auch ne Ausgabe hin, aber schön ist das nicht ;-)

Nochmal sorry für den ellenlangen Text...

Bin auf jeden Fall für jeden Tipp dankbar!!

MfG, Stefan
--
*** This message was written entirely with recycled electrons ***

Homepage: http://www.stefan-longerich.de mailto:mail@no-spam ICQ: 40255076


From: Gunter Ohrner (spam_shredder_nicht_benutzen_ausrufezeichen@no-spam)
Subject: Re: F: Druckprobleme mit Cups (Viel Text!)
Date: Thu, 10 Jul 2003 00:09:31 +0200

Stefan Longerich wrote:
> Das entsprechende ppd-File habe ich von linuxprinting.org. Da wird es
Kurze Frage: Wieso nimmst du nicht komplett Treiber und PPD von GIMP Print?
Oder wird dein Drucker davon noch nicht unterstützt? Ich habe hier einen STC 640, der damit einwandfrei druckt. (Wenn er das Postscript mag, aber das Problem ist zu 90% unabhängig von Treiber und PPD...)

Grüße,

Gunter
-- The Alchemist's Guild is opposite the Gambler's Guild. Usually. Sometimes it's above it, or below it, or falling in bits around it. -- (Terry Pratchett, Men At Arms)
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***


From: Stefan Longerich (stefan.longerich@no-spam)
Subject: Re: F: Druckprobleme mit Cups
Date: Thu, 10 Jul 2003 10:36:55 +0200

Werner Klaus wrote:
> > > [Job 1] Printer escp2-c62 is not a known model > > Das ist die Zeile auf die es ankommt. Die von dir benutzte "gs" Version > unterstützt nicht das Modell "escp2-c62". Um eine Liste der unterstützten > Modelle zu erhalten gebe folgendes ein: "gs -h".
> > Abhilfe: neue gs Version oder selbst kompilieren mit o. a. Unterstützung.

Die Idee kam mir im Laufe der Nacht auch schon, räumt zumindest diesen Fehler aus dem Weg... Aber jetzt steh ich vor einem neuen Problem:

[Job 5] ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps.
[Job 5] Couldn't exec foomatic-gswrapper -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=stp -sModel=escp2-c62 -sOutputFile=- - at usr/lib/cups/filter/cupsomatic line 1149.

gs_init.ps existiert in der Tat nicht auf meinem System - aber wo bekomm ich das her, wenn es schon nicht im ghostscript-Paket enthalten war?
foomatic-gswrapper liegt (wie in http://makeashorterlink.com/?O2F915735
beschrieben) in /usr/local/bin und ist auch les-/schreibbar.

MfG, Stefan
--
*** This message was written entirely with recycled electrons ***

Homepage: http://www.stefan-longerich.de mailto:mail@no-spam ICQ: 40255076


From: Stefan Longerich (stefan.longerich@no-spam)
Subject: Re: F: Druckprobleme mit Cups
Date: Thu, 10 Jul 2003 11:57:44 +0200

Stefan Longerich wrote:
> > > gs_init.ps existiert in der Tat nicht auf meinem System - aber wo bekomm > ich das her, wenn es schon nicht im ghostscript-Paket enthalten war?
> foomatic-gswrapper liegt (wie in http://makeashorterlink.com/?O2F915735
> beschrieben) in /usr/local/bin und ist auch les-/schreibbar.
>
Hat sich dann auch erledigt... Wer Verzeichnisse durchsuchen kann, ist klar im Vorteil *grmpf*

Jetzt häng ich wieder am selben Problem wie vorher auch - mein Druckermodell wird scheint's von Ghostscrip nicht unterstützt....

Komischerweise scheinen etliche Leute it genau diesem Drucker und genau diesem Treiber unter Linux drucken zu können - zumindest wenn man Google glaubt...

--
*** This message was written entirely with recycled electrons ***

Homepage: http://www.stefan-longerich.de mailto:mail@no-spam ICQ: 40255076


From: Gunter Ohrner (spam_shredder_nicht_benutzen_ausrufezeichen@no-spam)
Subject: Re: F: Druckprobleme mit Cups
Date: Thu, 10 Jul 2003 16:14:06 +0200

Stefan Longerich wrote:
> Komischerweise scheinen etliche Leute it genau diesem Drucker und genau > diesem Treiber unter Linux drucken zu können - zumindest wenn man Google > glaubt...

Ich kann nur nochmal wiederholen, versuch's einfach mal mit dem CUPS-Treiber von Gimp Print, und Foomatic usw... Laut http://gimp-print.sourceforge.net/p_Supported_Printers.php3 wird dein Drucker unterstützt, und Installation und Konfiguration des Treibers ist absolut schmerzlos. (Ist in den meisten Distributionen auch schon enthalten.) Optimale Druckqualität liefert er auch...

Grüße,

Gunter
-- One day I'll be dead and THEN you'll all be sorry.
-- (Terry Pratchett, alt.fan.pratchett)
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***