cups + foomatic + Lexmark 2030 = dupa

Jarosław Kamper jack w jack.eu.org
Pon, 31 Mar 2003, 12:25:44 CEST


Fragment logu cups z LogLevel debug:

D [31/Mar/2003:12:21:28 +0200] AcceptClient() 3 from localhost:631.
D [31/Mar/2003:12:21:28 +0200] ReadClient() 3 POST / HTTP/1.1
D [31/Mar/2003:12:21:28 +0200] ReadClient() 3 GET /printers/L2030.ppd 
HTTP/1.1
D [31/Mar/2003:12:21:28 +0200] SendFile() 3 file=6
D [31/Mar/2003:12:21:29 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:29 +0200] ReadClient() 6 POST /printers/L2030 
HTTP/1.1
D [31/Mar/2003:12:21:29 +0200] print_job: auto-typing file...
D [31/Mar/2003:12:21:29 +0200] print_job: request file type is 
application/postscript.
D [31/Mar/2003:12:21:29 +0200] check_quotas: requesting-user-name = 'jack'
D [31/Mar/2003:12:21:29 +0200] print_job: requesting-user-name = 'jack'
D [31/Mar/2003:12:21:29 +0200] Adding default job-sheets values 
"none,none"...
I [31/Mar/2003:12:21:29 +0200] Job 24 queued on 'L2030' by 'jack'.
D [31/Mar/2003:12:21:29 +0200] Job 24 hold_until = 0
D [31/Mar/2003:12:21:29 +0200] StartJob(24, 0808ded0)
D [31/Mar/2003:12:21:29 +0200] StartJob() id = 24, file = 0/1
D [31/Mar/2003:12:21:29 +0200] job-sheets=none,none
D [31/Mar/2003:12:21:29 +0200] banner_page = 0
D [31/Mar/2003:12:21:29 +0200] StartJob: argv = 
"L2030","24","jack","file:/","1","multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3","/var/spool/cups/d00024-001"
D [31/Mar/2003:12:21:29 +0200] StartJob: envp = 
"PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en-us","TZ=GMT","PPD=/etc/cups/ppd/L2030.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postscript","DEVICE_URI=parallel:/dev/lp0","PRINTER=L2030","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","",""
D [31/Mar/2003:12:21:29 +0200] StartJob: statusfds = 7, 8
D [31/Mar/2003:12:21:29 +0200] StartJob: filterfds[1] = 9, -1
D [31/Mar/2003:12:21:29 +0200] StartJob: filter = 
"/usr/lib/cups/filter/pstops"
D [31/Mar/2003:12:21:29 +0200] StartJob: filterfds[0] = 10, 11
D [31/Mar/2003:12:21:29 +0200] 
start_process("/usr/lib/cups/filter/pstops", bfff14bc, bffec96c, 9, 11, 
8)
I [31/Mar/2003:12:21:29 +0200] Started filter /usr/lib/cups/filter/pstops 
(PID 3676) for job 24.
D [31/Mar/2003:12:21:29 +0200] StartJob: filter = 
"/usr/lib/cups/filter/foomatic-rip"
D [31/Mar/2003:12:21:29 +0200] StartJob: filterfds[1] = 9, 12
D [31/Mar/2003:12:21:29 +0200] 
start_process("/usr/lib/cups/filter/foomatic-rip", bfff14bc, bffec96c, 
10, 12, 8)
I [31/Mar/2003:12:21:29 +0200] Started filter 
/usr/lib/cups/filter/foomatic-rip (PID 3677) for job 24.
D [31/Mar/2003:12:21:29 +0200] StartJob: backend = 
"/usr/lib/cups/backend/parallel"
D [31/Mar/2003:12:21:29 +0200] StartJob: filterfds[0] = -1, 10
D [31/Mar/2003:12:21:29 +0200] 
start_process("/usr/lib/cups/backend/parallel", bfff14bc, bffec96c, 9, 
10, 8)
I [31/Mar/2003:12:21:29 +0200] Started backend 
/usr/lib/cups/backend/parallel (PID 3678) for job 24.
D [31/Mar/2003:12:21:29 +0200] CloseClient() 6
D [31/Mar/2003:12:21:29 +0200] Page = 595x842; 0,0 to 595,842
D [31/Mar/2003:12:21:29 +0200] 0 %%BoundingBox: 0 0 594 842
D [31/Mar/2003:12:21:29 +0200] 0 %%Creator: KDE 3.0 HTML Library
D [31/Mar/2003:12:21:29 +0200] 0 %%Title: file:/
D [31/Mar/2003:12:21:29 +0200] 0 %%CreationDate: pon mar 31 12:21:29 2003
D [31/Mar/2003:12:21:29 +0200] 0 %%Orientation: Portrait
D [31/Mar/2003:12:21:29 +0200] 0 %%Pages: 1
D [31/Mar/2003:12:21:29 +0200] 0 %%DocumentFonts: Helvetica Helvetica-Bold
D [31/Mar/2003:12:21:29 +0200] 0 %%EndComments
D [31/Mar/2003:12:21:29 +0200] 0 %%BeginProlog
D [31/Mar/2003:12:21:29 +0200] 0 %%EndProlog
D [31/Mar/2003:12:21:29 +0200] 0 %%BeginSetup
D [31/Mar/2003:12:21:29 +0200] 0 %% Font Page 00
D [31/Mar/2003:12:21:29 +0200] perl: warning: Setting locale failed.
D [31/Mar/2003:12:21:29 +0200] perl: warning: Please check that your 
locale settings:
D [31/Mar/2003:12:21:29 +0200] LANGUAGE = (unset),
D [31/Mar/2003:12:21:29 +0200] LC_ALL = (unset),
D [31/Mar/2003:12:21:29 +0200] LANG = "en-us"
D [31/Mar/2003:12:21:29 +0200] are supported and installed on your system.
D [31/Mar/2003:12:21:29 +0200] perl: warning: Falling back to the standard 
locale ("C").
D [31/Mar/2003:12:21:29 +0200] foomatic-rip version $Revision: 3.18 $ 
running...
D [31/Mar/2003:12:21:29 +0200] Parsing PPD file ...
D [31/Mar/2003:12:21:29 +0200] Added option ColorSpace
D [31/Mar/2003:12:21:29 +0200] Added option PageSize
D [31/Mar/2003:12:21:29 +0200] Added option PageRegion
D [31/Mar/2003:12:21:29 +0200] Added option ImageableArea
D [31/Mar/2003:12:21:29 +0200] Added option PaperDimension
D [31/Mar/2003:12:21:29 +0200] Added option Font
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] Parameter 
Summary
D [31/Mar/2003:12:21:29 +0200] -----------------
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] Spooler: 
cups
D [31/Mar/2003:12:21:29 +0200] Printer: L2030
D [31/Mar/2003:12:21:29 +0200] PPD file: /etc/cups/ppd/L2030.ppd
D [31/Mar/2003:12:21:29 +0200] Printer model: Lexmark 2030, Foomatic + 
pbm2l2030
D [31/Mar/2003:12:21:29 +0200] Job title: file:/
D [31/Mar/2003:12:21:29 +0200] File(s) to be printed:
D [31/Mar/2003:12:21:29 +0200] <STDIN>
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] Pondering 
option 'multiple-document-handling=separate-documents-collated-copies'
D [31/Mar/2003:12:21:29 +0200] Unknown option 
multiple-document-handling=separate-documents-collated-copies.
D [31/Mar/2003:12:21:29 +0200] Pondering option 'orientation-requested=3'
D [31/Mar/2003:12:21:29 +0200] Unknown option orientation-requested=3.
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] 
================================================
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] File: 
<STDIN>
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] 
================================================
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] Reading 
PostScript input ...
D [31/Mar/2003:12:21:29 +0200] 0 %%BeginFont: Helvetica-Bold
D [31/Mar/2003:12:21:29 +0200] 0 %%FontName: Helvetica-Bold-Uni
D [31/Mar/2003:12:21:29 +0200] 0 %%Creator: Composite font created by Qt
D [31/Mar/2003:12:21:29 +0200] 0 %%EndFont
D [31/Mar/2003:12:21:29 +0200] 0 %% Font Page 00
D [31/Mar/2003:12:21:29 +0200] 0 %%BeginFont: Helvetica
D [31/Mar/2003:12:21:29 +0200] 0 %%FontName: Helvetica-Uni
D [31/Mar/2003:12:21:29 +0200] 0 %%Creator: Composite font created by Qt
D [31/Mar/2003:12:21:29 +0200] 0 %%EndFont
D [31/Mar/2003:12:21:29 +0200] 0 %%EndSetup
D [31/Mar/2003:12:21:29 +0200] 0 %%Page: 1 1
D [31/Mar/2003:12:21:29 +0200] 0 %%Page: 1 1
D [31/Mar/2003:12:21:29 +0200] pw = 595.0, pl = 842.0
D [31/Mar/2003:12:21:29 +0200] PageLeft = 0.0, PageRight = 595.0
D [31/Mar/2003:12:21:29 +0200] PageTop = 842.0, PageBottom = 0.0
D [31/Mar/2003:12:21:29 +0200] PageWidth = 595.0, PageLength = 842.0
D [31/Mar/2003:12:21:29 +0200] 0 %%BeginPageSetup
D [31/Mar/2003:12:21:29 +0200] 0 %%EndPageSetup
D [31/Mar/2003:12:21:29 +0200] --> This document is DSC-conforming!
D [31/Mar/2003:12:21:29 +0200] Found: %%BeginFeature: PageSize A4
D [31/Mar/2003:12:21:29 +0200] Option: PageSize=A4 --> Option will be set 
by PostScript interpreter
D [31/Mar/2003:12:21:29 +0200] 0 %%Trailer
D [31/Mar/2003:12:21:29 +0200] Saw Trailer!
D [31/Mar/2003:12:21:29 +0200] Saw EOF!
D [31/Mar/2003:12:21:29 +0200] Inserting PostScript code for CUPS' page 
accounting
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] -----------
D [31/Mar/2003:12:21:29 +0200] New page:  1 1
D [31/Mar/2003:12:21:29 +0200] End of page header
D [31/Mar/2003:12:21:29 +0200] Found:
D [31/Mar/2003:12:21:29 +0200] %%EndPageSetup
D [31/Mar/2003:12:21:29 +0200] --> Output goes directly to the renderer 
now.
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:29 +0200] D 
[31/Mar/2003:12:21:29 +0200] Starting renderer
D [31/Mar/2003:12:21:29 +0200] renderer PID pid4=3682
D [31/Mar/2003:12:21:29 +0200] renderer command: gs -dBATCH 
-dPARANOIDSAFER -dNOPAUSE -q -sDEVICE=pbm -sOutputFile=- -r300x300  - | 
pbm2l2030
D [31/Mar/2003:12:21:29 +0200] JCL: <job data>
D [31/Mar/2003:12:21:29 +0200] D [31/Mar/2003:12:21:30 +0200] sh: 
pbm2l2030: not found
D [31/Mar/2003:12:21:30 +0200] Flushing FIFO.
D [31/Mar/2003:12:21:30 +0200] D [31/Mar/2003:12:21:30 +0200] Closing 
renderer
D [31/Mar/2003:12:21:30 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:30 +0200] ReadClient() 6 POST /printers/ HTTP/1.1
D [31/Mar/2003:12:21:30 +0200] CloseClient() 6
D [31/Mar/2003:12:21:30 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:30 +0200] ReadClient() 6 POST /classes/ HTTP/1.1
D [31/Mar/2003:12:21:30 +0200] CloseClient() 6
D [31/Mar/2003:12:21:30 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:30 +0200] ReadClient() 6 POST /printers/ HTTP/1.1
D [31/Mar/2003:12:21:30 +0200] CloseClient() 6
D [31/Mar/2003:12:21:30 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:30 +0200] ReadClient() 6 POST / HTTP/1.1
D [31/Mar/2003:12:21:30 +0200] CloseClient() 6
D [31/Mar/2003:12:21:31 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:31 +0200] ReadClient() 6 POST /printers/ HTTP/1.1
D [31/Mar/2003:12:21:31 +0200] CloseClient() 6
D [31/Mar/2003:12:21:31 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:31 +0200] ReadClient() 6 POST /classes/ HTTP/1.1
D [31/Mar/2003:12:21:31 +0200] CloseClient() 6
D [31/Mar/2003:12:21:31 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:31 +0200] ReadClient() 6 POST /printers/ HTTP/1.1
D [31/Mar/2003:12:21:31 +0200] CloseClient() 6
D [31/Mar/2003:12:21:31 +0200] AcceptClient() 6 from localhost:631.
D [31/Mar/2003:12:21:31 +0200] ReadClient() 6 POST / HTTP/1.1
D [31/Mar/2003:12:21:31 +0200] CloseClient() 6
D [31/Mar/2003:12:21:31 +0200] GNU Ghostscript 7.05: Unrecoverable error, 
exit code 1
D [31/Mar/2003:12:21:31 +0200] renderer return value: 127
D [31/Mar/2003:12:21:31 +0200] renderer received signal: 127
D [31/Mar/2003:12:21:31 +0200] Process dieing with "The renderer command 
line returned an unrecognized error code 127.", exit stat: 1
D [31/Mar/2003:12:21:31 +0200] The renderer command line returned an 
unrecognized error code 127.
D [31/Mar/2003:12:21:31 +0200] tail process done writing data to STDOUT
D [31/Mar/2003:12:21:31 +0200] KID4 finished
D [31/Mar/2003:12:21:31 +0200] KID3 exited with status 1
D [31/Mar/2003:12:21:31 +0200] Renderer exit stat: 1
E [31/Mar/2003:12:21:31 +0200] PID 3677 stopped with status 1!
D [31/Mar/2003:12:21:31 +0200] Renderer process finished
D [31/Mar/2003:12:21:31 +0200] Process dieing with "Error closing 
renderer", exit stat: 1
D [31/Mar/2003:12:21:31 +0200] Error closing renderer
D [31/Mar/2003:12:21:31 +0200] UpdateJob: job 24, file 0 is complete.
D [31/Mar/2003:12:21:31 +0200] CancelJob: id = 24
D [31/Mar/2003:12:21:31 +0200] StopJob: id = 24, force = 0
D [31/Mar/2003:12:21:31 +0200] StopJob: printer state is 3

[jack w pldworkstation jack]$ rpm -qa|grep "foo\|cups"
cups-lib-1.1.14-22
cups-foomatic-20020719-4
cups-backend-smb-2.2.8-2
cups-clients-1.1.14-22
foomatic-db-20021222-1
cups-image-lib-1.1.14-22
cups-1.1.14-22
foomatic-db-engine-2.9.1-1
cups-devel-1.1.14-22
foomatic-filters-2.9.1-1

Co robię źle?

A, musiałem sam dorobić linka do foomatic-rip 
(/usr/lib/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip), bo sam się 
nie zrobił ;)
-- 
Jarosław Kamper <jack w jack.eu.org> http://jack.eu.org/



Więcej informacji o liście dyskusyjnej pld-users-pl