Several days I have been having problems with my printer Epson Styllus
Collor 740. It was working perfectly. But about 30 days a go it
stopped working.
Since I use Debian testing, I was searching on google and waiting for an update.
However, there was no update and neither the google resolved.
A month or so, every time I send printer job, is as follows:
1 if from the web interface of the cups I click "Print Test Page", I
receive the message:
Stylus Color-740-CUPS --- + Gutenprint-V5.0.2 "Gutenprint Printing page 1, 4%"
and do not leave it.
I "stop" and "start" printer to return to normal. I restart cups too.
2. from the web interface of the cups, if I click "Print Self-Test
Page", I receive the message:
-Stylus Color-740 --- CUPS + Gutenprint-V5.0.2
"/usr/lib/cups/filter/pstoraster failed"
I have allowed 777 in /usr/lib/cups/filter/pstoraster and not solved.
I already uninstall the printer and re-installed it via the web
interface of the cups and the problem persists.
I already uninstall the printer and re-installed it via gnome and the
problem persists.
I already compared the /etc/cups/cupsd.conf with an old one, but they
are equals.
Any suggestions?
If I go to post a bug, where is the right place?
Thank you very much
--
Marcelo Luiz de Laia
Jaboticabal - SP - Brazil
Please avoid sending me Word or PowerPoint attachments.
See:
http://www.gnu.org/philosophy/no-word-attachments.html
http://www.gnu.org/philosophy/no-word-attachments.pt-br.html
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> -Stylus Color-740 --- CUPS + Gutenprint-V5.0.2
> "/usr/lib/cups/filter/pstoraster failed"
>
> I have allowed 777 in /usr/lib/cups/filter/pstoraster and not solved.
Never do this. This makes the program *world writable*. This is a security
hole. The default permissions of 0755 are perfectly OK.
The problem isn't that the program isn't running, it's that is fails during
its execution.
> Any suggestions?
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.
It's likely a ghostscript issue. Make sure ghostscript is installed and
has the needed fonts etc (gsfonts).
> If I go to post a bug, where is the right place?
Initially file against cups, but we'll know more once we have an error_log
to look at.
Regards,
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.
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,
2008/11/8 Roger Leigh <rle...@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?
I try to print from Iceweasel (cups admin web page) and if I sent a
job from gedit and openoffice I got another error message on cups web
page admin:
Stylus-Color-740---CUPS+Gutenprint-v5.0.2 "Gutemprint read to print..."
after a few seconds,
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!
>> (/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.
Please, in the past message I include the attachement in line (I think
it is so big to), so now I upload it to a server. Please, let me now
if you have problems to see it or if you prefer it in line.
cups_error_log:
http://www.divshare.com/download/5770389-874
http://www.divshare.com/download/5770390-420
http://www.divshare.com/download/5770391-cee
http://www.divshare.com/download/5770392-1f3
> BTW, could you have sure the "ghostscript" package is installed.
marcelo@laia:~$ dpkg -l ghostscript
+++-==============-==============-============================================
ii ghostscript 8.62.dfsg.1-3. The GPL Ghostscript PostScript/PDF interpret
marcelo@laia:~$ dpkg -l gsfonts
+++-==============-==============-============================================
ii gsfonts 1:8.11+urwcyr1 Fonts for the Ghostscript interpreter(s)
marcelo@laia:~$ dpkg -l gsfonts-other
+++-==============-==============-============================================
ii gsfonts-other 6.0-3.2 Additional fonts for the ghostscript interpr
marcelo@laia:~$ sudo /etc/init.d/cups restart
Restarting Common Unix Printing System: cupsd.
marcelo@laia:~$
> Thanks,
> Roger
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
Broken.
> test_iceweasel.ps:
>
> http://www.divshare.com/download/5770391-cee
Broken.
> test_openoffice.ps:
>
> http://www.divshare.com/download/5770392-1f3
OK.
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)?
Regards,
This looks OK, though you might want to change the ErrorPolicy to
retry-job. The backend is certainly an improvement.
> 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
marcelo@laia:~$ sudo lpinfo -v
network lpd://200.145.102.181/
network socket
network beh
file cups-pdf:/
direct usb://EPSON/Stylus%20COLOR%20740
direct epson:/dev/usb/lp0
direct hpfax
direct hp
network http
network ipp
network lpd
direct scsi
network smb
marcelo@laia:~$ lpstat -v
dispositivo para CUPS-PDF-Printer: cups-pdf:/
dispositivo para
LaserJet-4100-Series-v.3010.107-Postscript-(recommended):
socket://tecnol74.fcav.unesp.br:9100
dispositivo para Stylus-Color-740---CUPS+Gutenprint-v5.0.2:
usb://EPSON/Stylus%20COLOR%20740
marcelo@laia:~$ sudo /etc/init.d/cups restart
Restarting Common Unix Printing System: cupsd.
marcelo@laia:~$
I uninstall my printer and re-install it from gnome printers admin.
But, in this step I choose EPSON Stylus COLOR 740 instead Epson USB
Printer.
In the /etc/cups/printers.conf appear:
<Printer Stylus-Color-740---CUPS+Gutenprint-v5.0.2>
Info Stylus-Color-740---CUPS+Gutenprint-v5.0.2
DeviceURI usb://EPSON/Stylus%20COLOR%20740
State Idle
StateTime 1226157915
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
--