FS#30021 - [cups] cannot print pdfs with cups 1.5.3-2 : /usr/lib/cups/filter/pdftops failed
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Saturday, 26 May 2012, 07:33 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 29 May 2012, 14:41 GMT
Opened by Frederic Bezies (fredbezies) - Saturday, 26 May 2012, 07:33 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 29 May 2012, 14:41 GMT
|
Details
Description: Since upgrade to version 1.5.3-2, my epson
stylus sx 218 cannot print. I got this in my cups http
interface :
/usr/lib/cups/filter/pdftops failed Additional info: - cups 1.5.3-2 Steps to reproduce: Just try to print a pdf file with cups 1.5.2. And then, open cups web interface and look at pending tasks. Tried with mozilla firefox or evince without any luck :( |
This task depends upon
Edit : pdf printing works after I installed cups-filters... Something is broken in cups or what ? And if I want to remove libusb-compat, about 1 Gb of software is going to be removed... So something is broken with libusb change, which is the main change of cups 1.5.3-2.
Maybe removed libusb-compat dep is now needed somewhere else that was covered before. For reference look at Fedora/Debian/Gentoo packages.
The only workaround for me was to force the installation - I know it is very dirty to do this - of cups filter. The pdftops executable of cups package won't work. Only the one in cups-filters works. Weird :(
If this could be useful I got this on dmesg every time I try to print:
[ 328.083103] pdftops[1342] trap divide error ip:7fafd54bcdf4 sp:7fffa94d8410 error:0 in libpoppler.so.25.0.0[7fafd536b000+211000]
[ 1018.283971] pdftops[1574] trap divide error ip:7fef98f6adf4 sp:7fffb6b74100 error:0 in libpoppler.so.25.0.0[7fef98e19000+211000]
The cups web interface show "pdftops failed" as said by fredbezies.
I don't know if it's related but my printer also said that the ink level is low and it's strange because I printed days ago and the ink level was 100%.
Packages being used: cups 1.5.3-2, cups-pdf 2.6.1-1, libcups 1.5.3-2, libgnomecups 0.2.3-9, hplip 3.12.4-1
pdftops is part of poppler
So I just downloaded and built the latest cups-filters http://www.openprinting.org/download/cups-filters/cups-filters-1.0-20120528.tar.gz. Did a force install to overwrite the filters that come with cups. Everything works now.
There must be an incompatibility between the default cups-1.5.3 filter files and the latest poppler.
We now use the new cups-filter pkg replacing parts of cups that will be dropped in 1.6 - Debian does the same now for some timer in Sid also with cups 1.5.x.
Thank you.
I also noticed cups-filters was installed as a dependency. This is the first time I have had this package installed. I did try to install it earlier to solve this issue however it gave a conflict error so I left it.
Thanks Andreas.
However, I had to change the driver to HP LaserJet 2100, hpcups 3.12.4 to get things printing off properly (previously used HP LaserJet 2100 hpijs, 3.11.12).