[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/lib/cups/filter/pstoraster failed



On Sat, Nov 08, 2008 at 10:06:37AM -0200, Marcelo Laia wrote:
> Dear Roger,
> 
> > Set LogLevel to debug in /etc/cups/cupsd.conf, restart cups.
> > Now print a test page.
> > Next, look at /var/log/cups/error_log.  The exact cause of the pstoraster
> > failure should be in there somewhere.  Attach it to your reply if you aren't
> > sure.
> 
> I'm unable for figure out the problem. I am sorry! Please, found
> attached the /var/log/cups/error_log.
> 
> I have other two printers installed: one Laser Jet on a LAN and
> CUPS-PDF. Both work perfectly!

These will both be OK.  Gutenprint needs the output converting from
PostScript into a raster image for processing.  The LaserJet and CUPS-PDF
can use the input without this step (conversion is to PS/PCL and PDF,
respectively).

> W [08/Nov/2008:09:50:48 -0200] [Job 436] This document does not
> conform to the Adobe Document Structuring Conventions and may not
> print correctly!

This may indicate your file is bad.  Which application are you printing
from?

> D [08/Nov/2008:09:50:48 -0200] [Job 436] Running /usr/bin/gs -dQUIET
> -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups
> -sstdout=%stderr -sOUTPUTFILE=%stdout -c -_
[...]
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Error: /undefined in #CUPS-COMMAND
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Operand stack:
> D [08/Nov/2008:09:50:48 -0200] [Job 436]
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Execution stack:
> D [08/Nov/2008:09:50:48 -0200] [Job 436] %interp_exit   .runexec2
> --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--   --nostringval--   --nostringval--
> false   1   %stopped_push   1905   1   3   %oparray_pop   1904   1   3
>   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3
> %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
> --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Dictionary stack:
> D [08/Nov/2008:09:50:48 -0200] [Job 436] --dict:1152/1684(ro)(G)--
> --dict:0/20(G)--   --dict:98/200(L)--
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Current allocation mode is local
> D [08/Nov/2008:09:50:48 -0200] [Job 436] Last OS error: 2
> D [08/Nov/2008:09:50:48 -0200] [Job 436] GPL Ghostscript 8.62:
> Unrecoverable error, exit code 1
> E [08/Nov/2008:09:50:48 -0200] PID 23233
> (/usr/lib/cups/filter/pstoraster) stopped with status 1!

The pstoraster filter (ghostscript) crashed while processing the file.
If you print to a file instead of the printer, could you attach the
file to your reply so we can see what the cause is.

BTW, could you have sure the "ghostscript" package is installed.

Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: