Can't print - "Unable to open image file for printing!"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't print - "Unable to open image file for printing!"
HI,
Since slackware 13.0 (upgraded to 13.1), I haven't been able to print anything. I can add printers no problem using the cups gui (or whatever). However any print I send to any printer fails because of:
"Unable to open image file for printing!"
I can post the whole error log if that helps, but I can't see much in it. I haven't been able to print for about 6 months, which is getting a bit annoying.
Any ideas?
Cheers
Tom
p.s, as a I lazy option I upgraded to the cups in -current, but that didn't help (although I don't think it was a very different version).
I don't think this is a hardware problem. I get the same error message whether it's a network printer (lp), USB printer, samba printer, or serial printer. Also programmes are effected. The same printers would print using slackware 12.2 btw - no changes to the PC since then.
The Unable to open image file for printing!" comes from the cups error log. If you go in to the GUI you can also see this message.
What printer is it make/model? what driver are you using? does the driver require compiling/did you recompile? if it's a binary, did they recompile? libpng was updated with an incompatible version that requires binaries to be re linked with it. Did you do an 'upgrade' from 12.2 to 13.0 to 13.1 or did you re install each time? Have you checked for conflicting configuration files? did you read the changes and hints file?
This problem just seems so odd to me that I'm sure anybody trying to help you is going to need as much information as possible no matter how insignificant you may feel it is.
yes yes, but sometimes the changes and hits section contains other information that may lead you to thinking what might be wrong.
Like maybe "HP multifunction printers/scanners require the user to be part of the lp group" Which could lead you to check the permissions of the device file regardless of it being HP or not.
But being you tried as root, that's probably not the case. So lets try again...
Maybe all the printers you try require firmware?... No I think that would only be for USB connection...
Let's see... by 'every printer I try' can only assume you have tried 5 different printers and all of them are different brands and all of them have compatible default cups drivers. Well I guess I can't help with a google search on those models. Besides it's -every- printer. Which would point to a cups problem.
Which would lead me to reading the cups changelog for clues which offers nothing obvious. Or perhaps you some how got 32bit and 64bit binaries conflicting? I don't know that's a stab in the dark. I'm sure that's not the case. Either that or I would try removing all printer configurations, starting over and rebooting... or at least restarting the server. Speaking of which. I'm sure a computer reboot was already done recently because the kernel was probably updated. So that probably has nothing to do with it.
You know what? I'm stumped. I'm not on your system, I don't have the error logs, and I can't use diagnostic tools on your computer.
My only guess would be related to the issues people were having with firefox crashing. That required either a firefox or a cups upgrade. Being that a lot of things link with cups, I probably would use the latest one packaged for 13.1. i.e. cups-1.4.5 in /patches...
---
An old bug post regarding cups on fedora had something to do with the file name starting with BM. That issue was related to an improperly defined Mime type of all things. It also seems to relate to other 2 capital letter prefixes. I don't suppose you have tried various different filetypes and names?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.