cups + foomatic + Lexmark 2030 = dupa

Jarosław Kamper jack w jack.eu.org
Pon, 31 Mar 2003, 13:38:43 CEST


Dnia Monday 31 of March 2003 12:40, Fryderyk Dziarmagowski napisał:
> On Mon, 31 Mar 2003 12:25:44 +0200
> Jarosław Kamper <jack w jack.eu.org> wrote:
>
> [...]
>
> > [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?
>
> ustaw sobie /etc/foomatic/filter.conf debug na 1 i zobaczacz co
> pokazuje się w debuglogu w /tmp

Done, oto wynik:

foomatic-rip version $Revision: 3.18 $ running...
called with arguments: '26', 'jack', 'file:/', '1', 
'multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3'
Parsing PPD file ...
Added option ColorSpace
Added option PageSize
Added option PageRegion
Added option ImageableArea
Added option PaperDimension
Added option Font

Parameter Summary
-----------------

Spooler: cups
Printer: L2030
PPD file: /etc/cups/ppd/L2030.ppd
Printer model: Lexmark 2030, Foomatic + pbm2l2030
Options: multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3
Job title: file:/
File(s) to be printed:
<STDIN>

Pondering option 
'multiple-document-handling=separate-documents-collated-copies'
Unknown option 
multiple-document-handling=separate-documents-collated-copies.
Pondering option 'orientation-requested=3'
Unknown option orientation-requested=3.

================================================

File: <STDIN>

================================================

Reading PostScript input ...
--> This document is DSC-conforming!
Found: %%BeginFeature: PageSize A4
   Option: PageSize=A4 --> Option will be set by PostScript interpreter
Inserting PostScript code for CUPS' page accounting

-----------
New page:  1 1
End of page header
Found:
   %%EndPageSetup
 --> Output goes directly to the renderer now.


Starting renderer
renderer PID pid4=4468
renderer command: gs -dBATCH -dPARANOIDSAFER -dNOPAUSE -q -sDEVICE=pbm 
-sOutputFile=- -r300x300  - | pbm2l2030
JCL: <job data>

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en-us"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' 
'-sDEVICE=pbm' '-sOutputFile=| cat >&3' '-r300x300' '/dev/fd/0' 3>&1 1>&2
sh: pbm2l2030: not found
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Flushing FIFO.

Closing renderer
Loading NimbusSanL-ReguItal font from 
/usr/share/fonts/Type1/n019023l.pfb... 2090576 713248 1763096 451756 0 
done.
Loading NimbusSanL-Bold font from /usr/share/fonts/Type1/n019004l.pfb... 
2130768 758871 1783192 465379 0 done.
Loading NimbusSanL-Regu font from /usr/share/fonts/Type1/n019003l.pfb... 
2191056 807858 1803288 478940 0 done.
cat: write error: Broken pipe
Error: /ioerror in --.outputpage--
Operand stack:
   1   true
Execution stack:
   %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   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
0   3   %oparray_pop   --nostringval--   --nostringval--   
--nostringval--   --nostringval--
Dictionary stack:
   --dict:1050/1123(ro)(G)--   --dict:0/20(G)--   --dict:180/200(L)--
Current allocation mode is local
Last OS error: 32
GNU Ghostscript 7.05: Unrecoverable error, exit code 1
PAGE: 1 1
renderer return value: 127
renderer received signal: 127
tail process done writing data to STDOUT
KID4 finished
KID4 exited with status 0
KID3 exited with status 1
Renderer exit stat: 1
Process dieing with "The renderer command line returned an unrecognized 
error code 127.", exit stat: 1
The renderer command line returned an unrecognized error code 127.
Renderer process finished
Process dieing with "Error closing renderer", exit stat: 1


> hmmm, a gdzie masz foomatic-gswrapper ?

Już raz zainstalowałem, nie działało więc wywaliłem. Ale skoro mówisz, że 
powinno być, to zainstalowałem ponownie, zrestartowałem cupsd i dalej 
drukarka milczy ;(
-- 
Jarosław Kamper <jack w jack.eu.org> http://jack.eu.org/



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