foomatic-rip failed

Gerhard Schiller gerhard.schiller at gmail.com
Mon Jan 4 12:44:42 PST 2010


> > Gerhard Schiller wrote:
> >
> > > Hello from Vienna,
> > >
> > > I'm unable to get my printer working on a new system.
> > > Configuration:
> > >
> > > OS:SUSE 11.2, 64bit
> > > Printer HP710C
> > > Port: parallel port on a PCI card (PCI Controller DELOCK, chip: NetMos
> > > Technology PCI 9835 Multi-I/O Controller) - I dont have a parallel port on
> > > the MB.
> > >
> > >
> > > What I found out so far:
> > > -) The printer is recogniced by CUPS.
> > >
> > > -) Printing the testpage fails:
> > > HP_DESKJET_710C_LPT_1-15 root
> > > 17408   Sun Jan  3 14:49:26 2010
> > > printer HP_DESKJET_710C_LPT_1 is idle.
> > > enabled since Sun Jan  3 14:49:26 2010
> > > /usr/lib64/cups/filter/foomatic-rip failed
> > >
> > > -)Turning on the debug option shows:
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] Ghostscript extra search path
> > > ('GS_LIB'): /usr/share/cups/fonts D [03/Jan/2010:14:49:26 +0100] [Job 15]
> > > Printing system options: D [03/Jan/2010:14:49:26 +0100] [Job 15] Pondering
> > > option 'document-name=testprint.ps' D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] Unknown option document-name=testprint.ps. D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Pondering option 'media=Letter' D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Pondering option 'finishings=3' D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Unknown option finishings=3. D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Pondering option 'number-up=1' D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Unknown option number-up=1. D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Pondering option
> > > 'page-label=HP_DESKJET_710C_LPT_1:YaST2testprint at S5866' D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Unknown option
> > > page-label=HP_DESKJET_710C_LPT_1:YaST2testprint at S5866. D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Pondering option
> > > 'job-uuid=urn:uuid:d61dda1c-e145-3021-55aa-e6d2c428b673' D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Unknown option
> > > job-uuid=urn:uuid:d61dda1c-e145-3021-55aa-e6d2c428b673. D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Options from the PPD file: D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] ..... D [03/Jan/2010:14:49:26 +0100] [Job 15] ----------- D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] New page: %%Page: 1 1 D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] Found: %%BeginPageSetup D [03/Jan/2010:14:49:26 +0100] [Job 15]
> > > Inserting option code into "PageSetup" section. D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] Flushing FIFO. D [03/Jan/2010:14:49:26 +0100] [Job 15]
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] Starting renderer with command:
> > > "gs -sstdout=%stderr  -dNOPAUSE -dPARANOIDSAFER -dBATCH -r600
> > > -sDEVICE=ppmraw  -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
> > > -sOutputFile=%stdout -_ | pnm2ppa -v 710  -i - -o -" D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Starting process "kid3" (generation
> > > 1) D [03/Jan/2010:14:49:26 +0100] [Job 15] D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Closing renderer D [03/Jan/2010:14:49:26 +0100] [Job 15] Starting
> > > process "kid4" (generation 2) D [03/Jan/2010:14:49:26 +0100] [Job 15]
> > > Starting process "renderer" (generation 2) D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] JCL: %-12345X at PJL D [03/Jan/2010:14:49:26 +0100] [Job 15] <job
> > > data> D [03/Jan/2010:14:49:26 +0100] [Job 15] D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] /bin/bash: pnm2ppa: command not found D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] GPL Ghostscript 8.64 (2009-02-03)
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] Copyright (C) 2009 Artifex
> > > Software, Inc.  All rights reserved. D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] This software comes with NO WARRANTY: see the file COPYING for
> > > details. D [03/Jan/2010:14:49:26 +0100] [Job 15] Loading NimbusSanL-Bold
> > > font from /usr/share/ghostscript/8.64/Resource/Font/NimbusSanL-Bold...
> > > 4139336 1969933 12662384 11360106 1 done. D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Loading NimbusSanL-Regu font from
> > > /usr/share/ghostscript/8.64/Resource/Font/NimbusSanL-Regu... 4172616
> > > 2079992 18193848 16765607 1 done. D [03/Jan/2010:14:49:26 +0100] [Job 15]
> > > Loading NimbusRomNo9L-Regu font from
> > > /usr/share/ghostscript/8.64/Resource/Font/NimbusRomNo9L-Regu... 4213832
> > > 2244386 18193848 16767623 1 done. D [03/Jan/2010:14:49:26 +0100]
> > > Discarding unused job-progress event... D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Error: /ioerror in --showpage-- D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Operand stack:
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] 1   true
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] Execution stack:
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] %interp_exit   .runexec2
> > > --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
> > > --nostringval--   --nostringval--   --nostringval--   false   1
> > > %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop
> > >  1861   1   3   %oparray_pop   1755   1   3   %oparray_pop
> > > --nostringval--   %errorexec_pop   .runexec2   --nostringval--
> > > --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
> > > 1761   0   3   %oparray_pop   --nostringval--   --nostringval-- D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] Dictionary stack:
> > > D [03/Jan/2010:14:49:26 +0100] [Job 15] --dict:1170/3371(ro)(G)--
> > > --dict:1/20(G)--   --dict:102/200(L)-- D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] Current allocation mode is local D [03/Jan/2010:14:49:26 +0100] [Job
> > > 15] Last OS error: 32 D [03/Jan/2010:14:49:26 +0100] [Job 15] GPL
> > > Ghostscript 8.64: Unrecoverable error, exit code 1 D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] renderer exited with status 127 D [03/Jan/2010:14:49:26
> > > +0100] [Job 15] kid3 exited with status 1 D [03/Jan/2010:14:49:26 +0100]
> > > [Job 15] Process is dying with "Error closing renderer D
> > > [03/Jan/2010:14:49:26 +0100] [Job 15] ", exit stat 1 I hope, Ipasted all
> > > relevant parts of the logfile!
> > >
> > > What makes me unsure, if this is a cups problem at all, is the fact, that
> > > I'm unable to get ANY output to the printer. "cat some_file > /dev/lp0"
> > > finishes without any error, but the printer shows no activity (busy led).
> > >
> > > I checked the modules, hwinfo, pci-configuration, but found nothing
> > > suspicious:
> > >
> > > hwinfo:
> > > 10: None 00.0: 0701 Parallel controller (SPP)
> > >   [Created at misc.261]
> > >   Unique ID: YMnp.ecK7NLYWZ5D
> > >   Hardware Class: unknown
> > >   Model: "Parallel controller"
> > >   Device File: /dev/lp0
> > >   Device Files: /dev/lp0, /dev/char/6:0
> > >   I/O Ports: 0xe480-0xe487 (rw)
> > >   I/O Ports: 0xe483-0xe487 (rw)
> > >   Config Status: cfg=new, avail=yes, need=no, active=unknown
> > >
> > > dmesg | grep parport
> > > [    4.764357] parport_serial 0000:07:01.0: PCI INT A -> Link[LNKB] -> GSI
> > > [    5 (level, low) -> IRQ 5 4.764378] parport0: PC-style at 0xe480
> > > [    [PCSPP,TRISTATE,EPP] 4.837075] parport0: Printer, HEWLETT-PACKARD
> > > [    DESKJET 710C
> > > [  372.551631] lp0: using parport0 (polling).
> > > [  721.999693] lp0: using parport0 (polling).
> > > [  831.325243] lp0: using parport0 (polling).
> > > [ 1195.913467] lp0: using parport0 (polling).
> > > [ 1233.996120] lp0: using parport0 (polling).
> > >
> > > lsmod:
> > > parport_serial          9576  0
> > > parport_pc             46856  2 parport_serial
> > > parport                46544  3 lp,ppdev,parport_pc
> > > lp                     13764  0
> > >
> > >
> > > lspci -v
> > > 07:01.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O
> > > Controller (rev 01)
> > >         Subsystem: LSI Logic / Symbios Logic 1P2S
> > >         Flags: medium devsel, IRQ 5
> > >         I/O ports at e880 [size=8]
> > >         I/O ports at e800 [size=8]
> > >         I/O ports at e480 [size=8]
> > >         I/O ports at e400 [size=8]
> > >         I/O ports at e080 [size=8]
> > >         I/O ports at e000 [size=16]
> > >         Kernel driver in use: parport_serial
> > >
> > > One more thing:
> > > hp-setup does not find my printer...
> > >
> > > As you can see, I have reached the end of my knowledge and would be very
> > > gratefull for any hints!
> > >
> > > Thank's
> > > Gerhard
> >
> > You need the pnm2ppa utility for this printer. AFAIK, it is not a default
> > component for SuSE 11.x nor foomatic. Download it separately.
> >
> > Helge
> >
> Foomatic is installed.
>
> pnm2ppa: Yast said it was already installed (cups-drivers package), but starting pnm2ppa from the command line failed (command not found).
> After installing it from the source (configure, make, make install), I'm able to call it from the command line.  BUT cups still can't find it:
>
> D [04/Jan/2010:20:45:47 +0100] [Job 27] /bin/bash: pnm2ppa: command not found
>
> Where does cups look for it?
>
> 2nd problem:
> Shouldn't a command like "date > /dev/lp0" produce something on the printer? At least some activity at the led? I'm unable to send anything to teh printer,  but hwinfo (and cups) find it. So can I assume the port is working?
>
> Gerhard

Hardware seems to be working:
calibrate_ppa -s a4  --center  | pnm2ppa  -v 710 -p -i - -o - | lpr -l
produces a nice page :-)

Gerhard





More information about the cups mailing list