CUPS failure: pstoraster can't find device cups

CUPS failure: pstoraster can't find device cups

Post by Lorenzo Thurma » Wed, 19 Mar 2003 04:48:11



I installed CUPS 1.1.18 and ESP-Ghostscript 7.05.6 using these options
for the ghostscript configure: --enable-compiled-inits -prefix=/usr
--with-font-path=/usr/share/ghostscript

My laser printer works just fine, but when printing to a USB Epson, I
see in the error_log that pstoraster fails with status1. If I type
pstoraster at the command line, I get this output:

DEBUG: Running /usr/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE
-dBATCH -dN
OMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c  -
START 0 1394856 107318 1421680 132444 true 472 3 <0>
END PROCS 20 1414952 121440 1421680 133828 true 584 3 <0>
END FONTDIR/ENCS 40 1435048 136744 1421680 135212 true 593 3 <0>
Unknown device: cups

After installing ESP-ghostscript, I moved the pstoraster binary over to
/usr/lib/cups/filter, changed the permissions to 755  and moved the
pstoraster.convs file over to /etc/cups and uncommented the only line
there. What am I missing?
Thanks

 
 
 

CUPS failure: pstoraster can't find device cups

Post by Markus Kossman » Wed, 19 Mar 2003 12:48:11



> I installed CUPS 1.1.18 and ESP-Ghostscript 7.05.6 using these options
> for the ghostscript configure: --enable-compiled-inits -prefix=/usr
> --with-font-path=/usr/share/ghostscript

> My laser printer works just fine, but when printing to a USB Epson, I
> see in the error_log that pstoraster fails with status1. If I type
> pstoraster at the command line, I get this output:

> DEBUG: Running /usr/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE
> -dBATCH -dN
> OMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c  -
> START 0 1394856 107318 1421680 132444 true 472 3 <0>
> END PROCS 20 1414952 121440 1421680 133828 true 584 3 <0>
> END FONTDIR/ENCS 40 1435048 136744 1421680 135212 true 593 3 <0>
> Unknown device: cups

> After installing ESP-ghostscript, I moved the pstoraster binary over to
> /usr/lib/cups/filter, changed the permissions to 755  and moved the
> pstoraster.convs file over to /etc/cups and uncommented the only line
> there. What am I missing?
> Thanks

What says "gs -h" about available devices ? If the list doesn't include
cups, you probably have to reconfigure and rebuild the gs sources to
include the cups the cups device.
--


 
 
 

CUPS failure: pstoraster can't find device cups

Post by Lorenzo Thurma » Thu, 20 Mar 2003 00:42:42


Thanks for the reply. I wanted recompile gs with cups support, but could
not find the proper configure switch. Is there such a thing? I thought
cups support was enable by default. I ended up going with the foomatic
cupsomatic filter and ppd. After recompiling ghostscript with gimp print
support, everything worked  fine.
Thanks again


>>I installed CUPS 1.1.18 and ESP-Ghostscript 7.05.6 using these options
>>for the ghostscript configure: --enable-compiled-inits -prefix=/usr
>>--with-font-path=/usr/share/ghostscript

>>My laser printer works just fine, but when printing to a USB Epson, I
>>see in the error_log that pstoraster fails with status1. If I type
>>pstoraster at the command line, I get this output:

>>DEBUG: Running /usr/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE
>>-dBATCH -dN
>>OMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c  -
>>START 0 1394856 107318 1421680 132444 true 472 3 <0>
>>END PROCS 20 1414952 121440 1421680 133828 true 584 3 <0>
>>END FONTDIR/ENCS 40 1435048 136744 1421680 135212 true 593 3 <0>
>>Unknown device: cups

>>After installing ESP-ghostscript, I moved the pstoraster binary over to
>>/usr/lib/cups/filter, changed the permissions to 755  and moved the
>>pstoraster.convs file over to /etc/cups and uncommented the only line
>>there. What am I missing?
>>Thanks

>What says "gs -h" about available devices ? If the list doesn't include
>cups, you probably have to reconfigure and rebuild the gs sources to
>include the cups the cups device.

 
 
 

1. CUPS pstoraster failure

I am having the same problem as Tobias with CUPS, but Tobias' solution isn't
working for me.  "No pages found."  After reinstalling espgs configured for
the location of ghostscript fonts as installed in Slackware 8.1, the fonts
location seems to be fixed.  gs works fine for screen display, but when
called by pstoraster, it produces no output.  (from the command line, as
suggested by Sven, it produces a zero-length file.  Consequently, CUPS
reports "no pages found" and kills rastertoepson.  Anyone have a solution.  
Again, gs seems to be finding its fonts and working fine, except when
called by pstoraster, and pstoraster fails whether fonts are involved or
not (an image with no text produces the same result).
--
Old Man

2. How to inspect UDP packets ?

3. CUPS failure:pstoraster fails

4. Help: bizarre shimmer on Mach32...goes away after screen blank

5. CUPS packaging: .cups not -cups

6. Linux IO Port Programming mini-HOWTO (part 1/1)

7. Problem installing cups and cups-libs rpm packages

8. shared library help

9. CUPS from Ports working, cups from src not

10. CUPS printer hangs after inactivity, requires CUPS restart

11. CUPS : /usr/lib/cups/backend/smb backend missing?

12. Cups problems... always cups problems....

13. Can't use RH 9 cups: UnboundLocalError: local variable 'which'