cups problem mit samsung ml-2250

From: J. Erik Heinz <list(at)jerik.de>
Date: Tue, 13 Jun 2006 00:44:44 +0200

Hi,

kämpfe hier gerade mit meinem samsung ml-2250 und cups unter freebsd
6.1-release.

Ich habe cups nach folgender Anleitung installiert:
http://home.arcor.de/hm-gerhards/freebsd/freebsd_cups.html

ein 'echo hallo > /dev/lpt0' druckt auch eine Seite, daher ist der
Rechner richtig an den Parallelport angeschlossen und die Übertragung
funktioniert.

Wenn ich jetzt über das Webinterface den Testdruck machen will
(Drucker ist schon konfigutiert, die entsprechende ppd gabs auf der
beiligenden CD), passiert garnix.

In der /usr/local/etc/cups/cupsd.conf hab ich den LogLevel auf debug
eingestellt und das log am ende der mail gepostet.

Interessant ist die Zeile:

  D [13/Jun/2006:00:15:34 +0000] [Job 9]
  /usr/local/libexec/cups/filter/ppmtospl2: Exec format error

Der Filter ppmtospl2 hatte vorher gefehlt. Den konnte ich auf den
beiliegenden CD finden. War zwar für Linux gedacht, aber probieren geht
über studieren - und ich hab ihn an nach
/usr/local/libexec/cups/filter/ppmtospl2 kopiert.

Da er jetzt trotzdem nicht funktioniert, denke ich das ich noch die
linuxkompatibilität einstellen muss. Ich bin mir aber nicht sicher
ob ich diese einfach aktivieren muss und gut ist, oder ob ich dann auch
cups unter der linuxkompatibilität konfiguriren muss. Und wenn wie ?

/var/log/cups/error_log:

D [13/Jun/2006:00:15:34 +0000] ReadClient: 5 GET
/printers/Samsung?op=print-test-page HTTP/1.1
D [13/Jun/2006:00:15:34 +0000] CGI
/usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 2586
I [13/Jun/2006:00:15:34 +0000] Started
"/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=2586)
D [13/Jun/2006:00:15:34 +0000] SendCommand: 5 file=8
D [13/Jun/2006:00:15:34 +0000] AcceptClient: 7 from localhost:631.
D [13/Jun/2006:00:15:34 +0000] ReadClient: 7 POST /printers/Samsung
HTTP/1.1
D [13/Jun/2006:00:15:34 +0000] print_job: request file type is
application/postscript.
D [13/Jun/2006:00:15:34 +0000] check_quotas: requesting-user-name =
'root'
D [13/Jun/2006:00:15:34 +0000] print_job: requesting-user-name =
'root'
D [13/Jun/2006:00:15:34 +0000] Adding default job-sheets values
"none,none"...
I [13/Jun/2006:00:15:34 +0000] Adding start banner page "none" to job
9.
I [13/Jun/2006:00:15:34 +0000] Adding end banner page "none" to job 9.
I [13/Jun/2006:00:15:34 +0000] Job 9 queued on 'Samsung' by 'root'.
D [13/Jun/2006:00:15:34 +0000] Job 9 hold_until = 0
D [13/Jun/2006:00:15:34 +0000] StartJob(9, 0x81a5000)
D [13/Jun/2006:00:15:34 +0000] StartJob() id = 9, file = 0/1
D [13/Jun/2006:00:15:34 +0000] job-sheets=none,none
D [13/Jun/2006:00:15:34 +0000] banner_page = 0
D [13/Jun/2006:00:15:34 +0000] StartJob: argv =
"Samsung","9","root","Test Page","1","","/var/spool/cups/d00009-001"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[0]="PATH=/usr/local/libexec/cups/filter:/bin:/usr/bin"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[2]="USER=root"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[3]="CHARSET=utf-8"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[4]="LANG=en_US"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[5]="PPD=/usr/local/etc/cups/ppd/Samsung.ppd"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[9]="CONTENT_TYPE=application/postscript"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[10]="DEVICE_URI=parallel:/dev/lpt0"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[11]="PRINTER=Samsung"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[12]="CUPS_DATADIR=/usr/local/share/cups"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[13]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [13/Jun/2006:00:15:34 +0000] StartJob:
envp[14]="CUPS_SERVER=localhost"
D [13/Jun/2006:00:15:34 +0000] StartJob: envp[15]="IPP_PORT=631"
D [13/Jun/2006:00:15:34 +0000] StartJob: statusfds = [ 9 10 ]
D [13/Jun/2006:00:15:34 +0000] StartJob: filterfds[1] = [ 11 -1 ]
D [13/Jun/2006:00:15:34 +0000] StartJob: filter =
"/usr/local/libexec/cups/filter/pstops"
D [13/Jun/2006:00:15:34 +0000] StartJob: filterfds[0] = [ 12 13 ]
D [13/Jun/2006:00:15:34 +0000]
start_process("/usr/local/libexec/cups/filter/pstops", 0xbfbeda50,
0xbfbecdc0, 11, 13, 10)
I [13/Jun/2006:00:15:34 +0000] Started filter
/usr/local/libexec/cups/filter/pstops (PID 2587) for job 9.
D [13/Jun/2006:00:15:34 +0000] StartJob: filter =
"/usr/local/libexec/cups/filter/ppmtospl2"
D [13/Jun/2006:00:15:34 +0000] StartJob: filterfds[1] = [ 11 14 ]
D [13/Jun/2006:00:15:34 +0000]
start_process("/usr/local/libexec/cups/filter/ppmtospl2", 0xbfbeda50,
0xbfbecdc0, 12, 14, 10)
I [13/Jun/2006:00:15:34 +0000] Started filter
/usr/local/libexec/cups/filter/ppmtospl2 (PID 2588) for job 9.
D [13/Jun/2006:00:15:34 +0000] StartJob: backend =
"/usr/local/libexec/cups/backend/parallel"
D [13/Jun/2006:00:15:34 +0000] StartJob: filterfds[0] = [ -1 12 ]
D [13/Jun/2006:00:15:34 +0000]
start_process("/usr/local/libexec/cups/backend/parallel", 0xbfbeda50,
0xbfbecdc0, 11, 12, 10)
I [13/Jun/2006:00:15:34 +0000] Started backend
/usr/local/libexec/cups/backend/parallel (PID 2589) for job 9.
D [13/Jun/2006:00:15:34 +0000] ProcessIPPRequest: 7 status_code=0
E [13/Jun/2006:00:15:34 +0000] PID 2588 stopped with status 8!
D [13/Jun/2006:00:15:34 +0000] [Job 9] Page = 595x842; 12,12 to
582,830
D [13/Jun/2006:00:15:34 +0000] [Job 9] slowcollate=0, slowduplex=0,
sloworder=0
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%BoundingBox: 0 0 612 792
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%Pages: 1
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%LanguageLevel: 1
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%DocumentData: Clean7Bit
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%DocumentSuppliedResources:
procset testprint/1.1
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%DocumentNeededResources:
font Helvetica Helvetica-Bold Times-Roman
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%Creator: Michael Sweet,
Easy Software Products
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%CreationDate: May 11, 1999
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%Title: Test Page
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%EndComments
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%BeginProlog
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%BeginResource procset
testprint 1.1 0
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%EndResource
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%EndProlog
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%Page: 1 1
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%Page: 1 1
D [13/Jun/2006:00:15:34 +0000] [Job 9] pw = 570.0, pl = 817.0
D [13/Jun/2006:00:15:34 +0000] [Job 9] PageLeft = 12.5, PageRight =
582.5
D [13/Jun/2006:00:15:34 +0000] [Job 9] PageTop = 829.5, PageBottom =
12.5
D [13/Jun/2006:00:15:34 +0000] [Job 9] PageWidth = 595.0, PageLength =
842.0
D [13/Jun/2006:00:15:34 +0000] [Job 9] 0 %%EOF
D [13/Jun/2006:00:15:34 +0000] [Job 9] Saw EOF!
D [13/Jun/2006:00:15:34 +0000] [Job 9]
/usr/local/libexec/cups/filter/ppmtospl2: Exec format error
D [13/Jun/2006:00:15:34 +0000] CloseClient: 7
D [13/Jun/2006:00:15:34 +0000] UpdateJob: job 9, file 0 is complete.
D [13/Jun/2006:00:15:34 +0000] CancelJob: id = 9
D [13/Jun/2006:00:15:34 +0000] StopJob: id = 9, force = 0
D [13/Jun/2006:00:15:34 +0000] StopJob: printer state is 3
D [13/Jun/2006:00:16:41 +0000] CloseClient: 5

Gruss -- Erik

-- 
J. Erik Heinz
Keyboard-samuraing in process
:: All non-mailinglist mail to this emailadress will be deleted.
OpenBC: https://www.openbc.com/hp/JErik_Heinz
Blog: http://jerik.blogspot.com
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 13 Jun 2006 - 00:47:56 CEST

search this site