[cups.general] lexmark 1000 - no output on ubuntu

Helge Blischke h.blischke at srz.de
Fri May 11 10:46:29 PDT 2007


Klaus wrote:
> Till Kamppeter schrieb:
> 
>> The path in the PPD seems to be correct. So the driver should get 
>> found. Also the driver is executable for everyone.
>>
>> Can you do the following:
>>
>> Edit /etc/cups/cupsd.conf setting "LogLevel debug" and restart CUPS. 
>> Then remove all jobs which are perhaps hanging in the queue. After 
>> that do
>>
>> sudo cupsenable MyPrinter
>>
>> and print a job. After that post the job-related part of your 
>> error_log (lines with "[Job ...]" in them.
>>
> D [11/May/2007:18:21:11 +0200] [Job 34] argv[0]="MyPrinter"
> D [11/May/2007:18:21:11 +0200] [Job 34] argv[1]="34"
> D [11/May/2007:18:21:11 +0200] [Job 34] argv[2]="klabog"
> D [11/May/2007:18:21:11 +0200] [Job 34] argv[3]="Test Page"
> D [11/May/2007:18:21:11 +0200] [Job 34] argv[4]="1"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> argv[5]="job-uuid=urn:uuid:0a455eeb-2662-314d-4cca-56d940afda3a"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> argv[6]="/var/spool/cups/d00034-001"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[0]="CUPS_CACHEDIR=/var/cache/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[1]="CUPS_DATADIR=/usr/share/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[6]="CUPS_SERVERROOT=/etc/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[7]="CUPS_STATEDIR=/var/run/cups"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[9]="SERVER_ADMIN=root at cruces"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[10]="SOFTWARE=CUPS/1.2.8"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[11]="TMPDIR=/var/spool/cups/tmp"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[12]="TZ=Europe/Berlin"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[13]="USER=root"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[15]="CUPS_ENCRYPTION=IfRequested"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[16]="IPP_PORT=631"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[17]="CHARSET=utf-8"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[18]="LANG=de_DE"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[19]="PPD=/etc/cups/ppd/MyPrinter.ppd"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[20]="RIP_MAX_CACHE=8m"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[21]="CONTENT_TYPE=application/postscript"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[22]="DEVICE_URI=parallel:/dev/lp0"
> D [11/May/2007:18:21:11 +0200] [Job 34] envp[23]="PRINTER=MyPrinter"
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> envp[24]="FINAL_CONTENT_TYPE=printer/MyPrinter"
> I [11/May/2007:18:21:11 +0200] Started filter 
> /usr/lib/cups/filter/pstops (PID 21396) for job 34.
> I [11/May/2007:18:21:11 +0200] Started filter 
> /usr/lib/cups/filter/foomatic-rip (PID 21397) for job 34.
> I [11/May/2007:18:21:11 +0200] Started backend 
> /usr/lib/cups/backend/parallel (PID 21398) for job 34.
> D [11/May/2007:18:21:11 +0200] Discarding unused job-state event...
> D [11/May/2007:18:21:11 +0200] cupsdProcessIPPRequest: 10 status_code=0 
> (successful-ok)
> D [11/May/2007:18:21:11 +0200] PID 21396 (/usr/lib/cups/filter/pstops) 
> exited with no errors.
> D [11/May/2007:18:21:11 +0200] [Job 34] Page = 595x842; 0,0 to 595,842
> D [11/May/2007:18:21:11 +0200] [Job 34] slow_collate=0, slow_duplex=0, 
> slow_order=0
> D [11/May/2007:18:21:11 +0200] [Job 34] Before copy_comments - 
> %!PS-Adobe-3.0
> D [11/May/2007:18:21:11 +0200] [Job 34] %!PS-Adobe-3.0
> D [11/May/2007:18:21:11 +0200] [Job 34] %%BoundingBox: 0 0 612 792
> D [11/May/2007:18:21:11 +0200] [Job 34] %%Pages: 1
> D [11/May/2007:18:21:11 +0200] [Job 34] %%LanguageLevel: 1
> D [11/May/2007:18:21:11 +0200] [Job 34] %%DocumentData: Clean7Bit
> D [11/May/2007:18:21:11 +0200] [Job 34] %%DocumentSuppliedResources: 
> procset testprint/1.2
> D [11/May/2007:18:21:11 +0200] [Job 34] %%DocumentNeededResources: font 
> Helvetica Helvetica-Bold Times-Roman
> D [11/May/2007:18:21:11 +0200] [Job 34] %%Creator: Michael Sweet, Easy 
> Software Products
> D [11/May/2007:18:21:11 +0200] [Job 34] %%CreationDate: 
> D:20070220113000+0500
> D [11/May/2007:18:21:11 +0200] [Job 34] %%Title: Test Page
> D [11/May/2007:18:21:11 +0200] [Job 34] %%EndComments
> D [11/May/2007:18:21:11 +0200] [Job 34] Before copy_prolog - %%BeginProlog
> D [11/May/2007:18:21:11 +0200] [Job 34] Before copy_setup - %%Page: 1 1
> D [11/May/2007:18:21:11 +0200] [Job 34] Before page loop - %%Page: 1 1
> D [11/May/2007:18:21:11 +0200] [Job 34] Copying page 1...
> D [11/May/2007:18:21:11 +0200] [Job 34] pagew = 595.0, pagel = 842.0
> D [11/May/2007:18:21:11 +0200] [Job 34] bboxw = 595, bboxl = 842
> D [11/May/2007:18:21:11 +0200] [Job 34] PageLeft = 0.0, PageRight = 595.0
> D [11/May/2007:18:21:11 +0200] [Job 34] PageTop = 842.0, PageBottom = 0.0
> D [11/May/2007:18:21:11 +0200] [Job 34] PageWidth = 595.0, PageLength = 
> 842.0
> D [11/May/2007:18:21:11 +0200] [Job 34] Wrote 1 pages...
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Setting locale 
> failed.
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Please check that 
> your locale settings:
> D [11/May/2007:18:21:11 +0200] [Job 34] LANGUAGE = (unset),
> D [11/May/2007:18:21:11 +0200] [Job 34] LC_ALL = (unset),
> D [11/May/2007:18:21:11 +0200] [Job 34] LANG = "de_DE"
> D [11/May/2007:18:21:11 +0200] [Job 34] are supported and installed on 
> your system.
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Falling back to 
> the standard locale ("C").
> D [11/May/2007:18:21:11 +0200] [Job 34] backendRunLoop(print_fd=0, 
> device_fd=4, use_bc=0)
> ...
> ...
> D [11/May/2007:18:21:11 +0200] [CGI] Starting at file position 0...
> D [11/May/2007:18:21:11 +0200] [CGI] Returning at file position 643 on 
> EOF...
> D [11/May/2007:18:21:11 +0200] [Job 34] foomatic-rip version $Revision$ 
> running...
> D [11/May/2007:18:21:11 +0200] [Job 34] Parsing PPD file ...
> D [11/May/2007:18:21:11 +0200] [Job 34] *cupsFilter: 
> "application/vnd.cups-postscript 0 foomatic-rip"
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option ColorSpace
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option PageSize
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option PageRegion
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option ImageableArea
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option PaperDimension
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option InkType
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option Brightness
> D [11/May/2007:18:21:11 +0200] [Job 34] Added option Font
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Parameter Summary
> D [11/May/2007:18:21:11 +0200] [Job 34] -----------------
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Spooler: cups
> D [11/May/2007:18:21:11 +0200] [Job 34] Printer: MyPrinter
> D [11/May/2007:18:21:11 +0200] [Job 34] Shell: /bin/bash
> D [11/May/2007:18:21:11 +0200] [Job 34] PPD file: 
> /etc/cups/ppd/MyPrinter.ppd
> D [11/May/2007:18:21:11 +0200] [Job 34] ATTR file:
> D [11/May/2007:18:21:11 +0200] [Job 34] Printer model: Lexmark 1000 
> Foomatic/lm1100 (recommended)
> D [11/May/2007:18:21:11 +0200] [Job 34] Job title: Test Page
> D [11/May/2007:18:21:11 +0200] [Job 34] File(s) to be printed:
> D [11/May/2007:18:21:11 +0200] [Job 34] <STDIN>
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] GhostScript extra search path 
> ('GS_LIB'): /usr/share/cups/fonts
> D [11/May/2007:18:21:11 +0200] [Job 34] Pondering option 
> 'job-uuid=urn:uuid:0a455eeb-2662-314d-4cca-56d940afda3a'
> D [11/May/2007:18:21:11 +0200] [Job 34] Unknown option 
> job-uuid=urn:uuid:0a455eeb-2662-314d-4cca-56d940afda3a.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> ================================================
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] File: <STDIN>
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] 
> ================================================
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Reading PostScript input ...
> D [11/May/2007:18:21:11 +0200] [Job 34] --> This document is 
> DSC-conforming!
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] -----------
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginProlog
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%EndProlog
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] -----------
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginSetup
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginFeature: *PageSize A4
> D [11/May/2007:18:21:11 +0200] [Job 34] Option: PageSize=A4 --> Option 
> will be set by PostScript interpreter
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginFeature: *InkType 
> Color
> D [11/May/2007:18:21:11 +0200] [Job 34] Option: InkType=Color --> 
> Setting option
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %% 
> FoomaticRIPOptionSetting: InkType=Color
> D [11/May/2007:18:21:11 +0200] [Job 34] Option: InkType=Color --> 
> Setting option
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginFeature: 
> *Brightness 100
> D [11/May/2007:18:21:11 +0200] [Job 34] Option: Brightness=100 --> 
> Setting option
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %% 
> FoomaticRIPOptionSetting: Brightness=100
> D [11/May/2007:18:21:11 +0200] [Job 34] Option: Brightness=100 --> 
> Setting option
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%EndSetup
> D [11/May/2007:18:21:11 +0200] [Job 34] Inserting PostScript code for 
> CUPS' page accounting
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] -----------
> D [11/May/2007:18:21:11 +0200] [Job 34] New page:  1 1
> D [11/May/2007:18:21:11 +0200] [Job 34] Inserting option code into 
> "PageSetup" section.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BeginPageSetup
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%EndPageSetup
> D [11/May/2007:18:21:11 +0200] [Job 34] End of page header
> D [11/May/2007:18:21:11 +0200] [Job 34] Stopping search for page header 
> options
> D [11/May/2007:18:21:11 +0200] [Job 34] Found:       
> lineto                % Move there...
> D [11/May/2007:18:21:11 +0200] [Job 34] --> Output goes directly to the 
> renderer now.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Starting renderer
> D [11/May/2007:18:21:11 +0200] [Job 34] JCL: <job data>
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] renderer PID kid4=21406
> D [11/May/2007:18:21:11 +0200] [Job 34] renderer command: gs -q 
> -sDEVICE=ppmraw -r300  -dBATCH -dNOPAUSE -dPARANOIDSAFER  -sOutputFile=- 
> - | /opt/lm1100/bin/lm1100  -b 100 -
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%Trailer
> D [11/May/2007:18:21:11 +0200] [Job 34] --> Continue DSC parsing now.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%Pages: 1
> D [11/May/2007:18:21:11 +0200] [Job 34] --> Continue DSC parsing now.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%BoundingBox: 0 0 612 792
> D [11/May/2007:18:21:11 +0200] [Job 34] --> Continue DSC parsing now.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Found: %%EOF
> D [11/May/2007:18:21:11 +0200] [Job 34] --> Continue DSC parsing now.
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34]
> D [11/May/2007:18:21:11 +0200] [Job 34] Closing renderer
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Setting locale 
> failed.
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Please check that 
> your locale settings:
> D [11/May/2007:18:21:11 +0200] [Job 34] LANGUAGE = (unset),
> D [11/May/2007:18:21:11 +0200] [Job 34] LC_ALL = (unset),
> D [11/May/2007:18:21:11 +0200] [Job 34] LANG = "de_DE"
> D [11/May/2007:18:21:11 +0200] [Job 34] are supported and installed on 
> your system.
> D [11/May/2007:18:21:11 +0200] [Job 34] perl: warning: Falling back to 
> the standard locale ("C").
> D [11/May/2007:18:21:11 +0200] [Job 34] /bin/bash: 
> /opt/lm1100/bin/lm1100: No such file or directory
> D [11/May/2007:18:21:11 +0200] [Job 34] foomatic-gswrapper: gs 
> '-sstdout=%stderr' '-sDEVICE=ppmraw' '-r300' '-dBATCH' '-dNOPAUSE' 
> '-dPARANOIDSAFER' '-sOutputFile=%stdout' '-'
> D [11/May/2007:18:21:11 +0200] [Job 34] ESP Ghostscript 815.04 (2007-03-14)
> D [11/May/2007:18:21:11 +0200] [Job 34] Copyright (C) 2004 artofcode 
> LLC, Benicia, CA.  All rights reserved.
> D [11/May/2007:18:21:11 +0200] [Job 34] This software comes with NO 
> WARRANTY: see the file PUBLIC for details.
> D [11/May/2007:18:21:12 +0200] [Job 34] Loading NimbusSanL-Bold font 
> from /var/lib/defoma/gs.d/dirs/fonts/n019004l.pfb... 2653584 1198218 
> 1978980 644901 1 done.
> D [11/May/2007:18:21:12 +0200] [Job 34] Loading NimbusSanL-Regu font 
> from /var/lib/defoma/gs.d/dirs/fonts/n019003l.pfb... 2670248 1311500 
> 1978980 645665 1 done.
> D [11/May/2007:18:21:12 +0200] [Job 34] Loading NimbusRomNo9L-Regu font 
> from /var/lib/defoma/gs.d/dirs/fonts/n021003l.pfb... 2787392 1474106 
> 1978980 654711 1 done.
> D [11/May/2007:18:21:12 +0200] [Job 34] Loading NimbusSanL-ReguCondItal 
> font from /var/lib/defoma/gs.d/dirs/fonts/n019063l.pfb... 2904536 
> 1599118 1978980 664492 1 done.
> E [11/May/2007:18:21:12 +0200] [Job 34] /ioerror in --.outputpage--
> D [11/May/2007:18:21:12 +0200] [Job 34] Operand stack:
> D [11/May/2007:18:21:12 +0200] [Job 34] 1   true
> D [11/May/2007:18:21:12 +0200] [Job 34] Execution stack:
> D [11/May/2007:18:21:12 +0200] Discarding unused printer-state-changed 
> event...
> D [11/May/2007:18:21:12 +0200] [Job 34] %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   1   3   %oparray_pop   .runexec2   --nostringval-- 
> --nostringval--   --nostringval--   2   %stopped_push   --nostringval-- 
>   0   3   %oparray_pop   --nostringval--   --nostringval--
> D [11/May/2007:18:21:12 +0200] [Job 34] Dictionary stack:
> D [11/May/2007:18:21:12 +0200] [Job 34] --dict:1127/1686(ro)(G)-- 
> --dict:0/20(G)--   --dict:128/200(L)--
> D [11/May/2007:18:21:12 +0200] [Job 34] Current allocation mode is local
> D [11/May/2007:18:21:12 +0200] [Job 34] Last OS error: 32
> D [11/May/2007:18:21:12 +0200] [Job 34] ESP Ghostscript 815.04: 
> Unrecoverable error, exit code 1
> D [11/May/2007:18:21:12 +0200] [Job 34] renderer return value: 127
> D [11/May/2007:18:21:12 +0200] [Job 34] renderer received signal: 127
> D [11/May/2007:18:21:12 +0200] [Job 34] Process dying with "The renderer 
> command line returned an unrecognized error code 127.", exit stat: 1
> D [11/May/2007:18:21:12 +0200] [Job 34] error: Illegal seek (29)
> D [11/May/2007:18:21:12 +0200] [Job 34] The renderer command line 
> returned an unrecognized error code 127.
> D [11/May/2007:18:21:12 +0200] [Job 34] tail process done writing data 
> to STDOUT
> D [11/May/2007:18:21:12 +0200] [Job 34] KID4 finished
> D [11/May/2007:18:21:12 +0200] [Job 34] KID3 exited with status 1
> D [11/May/2007:18:21:12 +0200] [Job 34] Renderer exit stat: 1
> D [11/May/2007:18:21:12 +0200] [Job 34] Renderer process finished
> D [11/May/2007:18:21:12 +0200] [Job 34] Killing process 21405 (KID3)
> D [11/May/2007:18:21:12 +0200] [Job 34] Process dying with "Error 
> closing renderer", exit stat: 1
> D [11/May/2007:18:21:12 +0200] [Job 34] error: Illegal seek (29)
> D [11/May/2007:18:21:12 +0200] [Job 34] Error closing renderer
> E [11/May/2007:18:21:12 +0200] PID 21397 
> (/usr/lib/cups/filter/foomatic-rip) stopped with status 1!
> ...
> ...
> 
>> What is the output of the command
>>
>> /opt/lm1100/bin/lm1100
>>
> klabog at cruces:~$ sudo /opt/lm1100/bin/lm1100
> sudo: unable to execute /opt/lm1100/bin/lm1100: No such file or directory
> 
> Regards, Klaus

In the log file, I see Ghostscript dying with
	/ioerror in .outputpage
which means gs cannot successfully write the image data.
I suspect there is something wrong with writing to the
parallel port (as specified by the device_uri).

Till, aren't you the foomatic guru, are you?

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list