Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295504 - cups fails to print
Summary: cups fails to print
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 22:44 UTC by Gene Imes
Modified: 2010-04-07 20:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gene Imes 2009-12-02 22:44:53 UTC
Send a print job which causes this to appear in the log:

Dec 02 16:37:41 [hpcups] prnt/hpcups/HPCupsFilter.cpp 485: cupsRasterOpen failed, fd = 0_
Dec 02 16:37:41 [hp] prnt/backend/hp.c 839: ERROR: null print job total=0_


Reproducible: Always

Steps to Reproduce:
1. send a print job
2.
3.

Actual Results:  
same as above

Expected Results:  
printed document

~x86
latest emerge -u world

Can supply any info.

Thanks

Gene
Comment 1 Daniel Pielmeier gentoo-dev 2009-12-02 23:14:23 UTC
Do you get "undefined symbol" errors before? Did you run revdep-rebuild?

If this does not solve the problem try to downgrade to poppler-0.12.0.
Comment 2 Daniel Pielmeier gentoo-dev 2009-12-06 11:17:37 UTC
Did the recommendations above help? Do you still have the problem. Without feedback we can not help you. I will close this bug as invalid if there is no feedback within the next days.
Comment 3 Daniel Pielmeier gentoo-dev 2009-12-11 15:05:33 UTC
Without feedback we can not help here. Please reopen this bug if the problem persists and you can provide the requested information.
Comment 4 Dirk 2009-12-22 09:22:04 UTC
I have the same problems with latest ~amd64.

revdep-rebuild brings no effects. Even rebuildind cups and hplip deeply.
The problem is somewhat curious, because printing from e.g. kmail works more or less (the color is wrong), but printing from openoffice causes the named error.
In cups the message "/usr/libexec/cups/filter/pstoraster failed" or "/usr/libexec/cups/filter/hpcups failed" are given.
I have a HP OfficeJet 6500 and before the last update it works fine. I don't know which packages have been updated (Can I figure it out?).
Comment 5 Daniel Pielmeier gentoo-dev 2009-12-22 14:41:08 UTC
(In reply to comment #4)
> I have the same problems with latest ~amd64.
> 
> revdep-rebuild brings no effects. Even rebuildind cups and hplip deeply.
> The problem is somewhat curious, because printing from e.g. kmail works more or
> less (the color is wrong), but printing from openoffice causes the named error.
> In cups the message "/usr/libexec/cups/filter/pstoraster failed" or
> "/usr/libexec/cups/filter/hpcups failed" are given.
> I have a HP OfficeJet 6500 and before the last update it works fine. I don't
> know which packages have been updated (Can I figure it out?).
> 

Which verion of poppler are you using. If it is higher than poppler-0.12.0 can you please try if downgrading to poppler-0.12.0 helps.
Comment 6 Dirk 2009-12-22 18:40:00 UTC
(In reply to comment #5)
> (In reply to comment #4)
[...]
> Which verion of poppler are you using. If it is higher than poppler-0.12.0 can
> you please try if downgrading to poppler-0.12.0 helps.
> 

I am using version 0.10.7.
But I got it working.
I rebuild app-text/ghostscript-gpl, removed the printer in cups and run hp-setup again. After that the printer works fine. Maybe this was the problem, because I reinstalled the printer after each try (deep rebuilding of cups and hplip) and only after rebuilding ghostscript the printer works.
Comment 7 David 2010-03-06 06:22:37 UTC
Same problem here, printing from OpenOffice,

CUPS web interface says: "/usr/libexec/cups/filter/hpcups failed"

/var/log/messages says:
Mar  5 21:49:28 GentHost hpcups[12252]: prnt/hpcups/HPCupsFilter.cpp 361: DEBUG:
 Bad PPD - hpPrinterLanguage not found

The suggested poppler-0.12.0 is no longer in the Portage tree.

revdep-rebuild didn't help the situation.

I re-installed app-text/ghostscript-gpl, net-print/cups, and net-print/hplip, then deleted and recreated the printer using the CUPS web interface, and printing was restored.