[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 12:04:09PM -0200, Marcelo Laia wrote:
> Hi,
> 2008/11/8 Roger Leigh <rleigh@codelibre.net>:
> >>
> >> 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?
> Stylus-Color-740---CUPS+Gutenprint-v5.0.2 "Parallel port busy; will
> retry in 30 seconds..."
> and do not go a head.
> My printer is USB, not parallel!
> I already have changed the DeviceURI epson:/dev/usb/lp0 to DeviceURI
> usb:/dev/usb/lp0 in /etc/cups/printers.conf, but, after a few seconds,
> or may be when I sent a job to print, it was changed to DeviceURI
> epson:/dev/usb/lp0 again, by a ghots, I suppose, because this one was
> automatically!

You edited the file while the CUPS daemon was running, and it overwrote
your changes.  You need to use "modify printer" in the CUPS web
interface, or use lpadmin -v.  Note that the "epson" backend is not
recommended; it's removed in the new version of gutenprint, so I
suggest you use the plain "usb" backend.  Note that with
usb:// you can't use device node names.  Use "/usr/sbin/lpinfo -v" to
get a full list of valid names for your system.

> >> (/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.

If you install the "gv" package, you can try viewing these for yourself.
The verdict:

> test_gedit.ps:
> http://www.divshare.com/download/5770390-420


> test_iceweasel.ps:
> http://www.divshare.com/download/5770391-cee


> test_openoffice.ps:
> http://www.divshare.com/download/5770392-1f3


The Broken/OK is for whether gv (using ghostscript to render it) can
view the pages.  The is the same ghostscript CUPS is using as the
pstoraster program.  I suggest you file a bug report against the
ghostscript package, because it is failing on what looks like valid
input (I could convert them to PDF with ps2pdf and then view them
without any problems, and you should also be able to print them this
way as well).

Does "lpr -P <printer> /usr/share/cups/data/testprint.ps" result in
output (once you fix the backend problem above)?


  .''`.  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: