hplip should not use pstoraster anymore

Bug #886095 reported by Marc Schiffbauer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
Gentoo Linux
Fix Released
Medium

Bug Description

as of version 9 of ghostscript-gpl it does not provide pstoraster anymore but gstoraster instead. hplip needs to be fixed so that it will just use that other tool.

A workaround is create a symlink from gstoraster to pstoraster in ghostscript to make hplip work again.

Please see that gentoo bugreport for more details: https://bugs.gentoo.org/show_bug.cgi?id=388155

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :

Since app-text/ghostscript-gpl-9.02 (?), gs does not provide the "pstoraster" filter anymore, which has been renamed gstoraster.

ghostscript-gpl-9.04-r4 provides a symlink
/usr/libexec/cups/filter/pstoraster -> /usr/libexec/cups/filter/gstoraster for convenience until all print drivers are fixed.

hplip needs to be fixed to use gstoraster instead of pstoraster

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

I am the maintainer of hplip, so why did you assign this bug to the printing team only?

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :

(In reply to comment #1)
> I am the maintainer of hplip, so why did you assign this bug to the printing
> team only?

Sorry, I assumed you were a member of the printing herd.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Are you sure hplip does not work with gstoraster? The source code of hplip
contains no trace of pstoraster besides the foomatic-rip-hplip perl script
which is not installed. Try rebuilding cups and test again. See comments 7-9
from bug #372145.

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :

(In reply to comment #3)
> Are you sure hplip does not work with gstoraster? The source code of hplip
> contains no trace of pstoraster besides the foomatic-rip-hplip perl script
> which is not installed. Try rebuilding cups and test again. See comments 7-9
> from bug #372145.

I just removed the pstoraster symlink again that I added manually, then rebuilt cups.
A simple "lpr /etc/hosts" does not work then anymore and I can find this in the cups/error_log:

E [02/Nov/2011:20:12:52 +0100] Unable to execute /usr/libexec/cups/filter/pstoraster: No such file or directory
E [02/Nov/2011:20:12:52 +0100] [Job 32] Unable to start filter "pstoraster" - No such file or directory.
E [02/Nov/2011:20:12:52 +0100] [Job 32] Stopping job because the scheduler could not execute a filter.

Also, rebuilding hplip does not fix it.

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :

Strange, why does "qlist ghostscript-gpl" list pstoraster? Do you remove it manually in the ebuild?

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :

(In reply to comment #5)
> Strange, why does "qlist ghostscript-gpl" list pstoraster? Do you remove it
> manually in the ebuild?

gnaaa that was the recent ghostscript update, that fixed it.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Can you please open a bug about this upstream at https://bugs.launchpad.net/hplip and report the bug number here?

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :
Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

(In reply to comment #8)
> Upstream bug: https://bugs.launchpad.net/hplip/+bug/886095

Thanks!

Changed in gentoo:
importance: Unknown → Medium
Changed in gentoo:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.