[SOLVED]Problems Printing to a CUPS Server on Another Computer
I currently have two computers & a printer connected to my network. The printer is an HP LaserJet 4+ with a JetDirect server in it. It works perfectly. The computers are "desktop" & "server". "Server" is headless. I have installed Slackware-12.0 with no X & use it as a backup/file server via nfs. I also have an HP DeskJet 952C that I am trying to get working. If I connect the DeskJet printer to "desktop", all works well. I can install it via CUPS & print from any application. When I connect the DeskJet printer to "server", I can install & administer it in CUPS, using Firefox from "desktop". However, when I print a test page in CUPS, it fails & the printer name line reads:
HP_DeskJet_950C_USB_MY9AO111R6JP_HPLIP "/usr/lib/cups/filter/foomatic-rip failed" I have done a lot of googling & found a number of solutions to this problem, including: "a2ps must be installed." (It is.) & "You must install the correct PPD file." (I think I have.) I have not been able to find a list of required programs for cups or foomatic-rip. (foomatic-rip does exist, with the correct permissions.) Is there one? Or, how can I check out dependencies? Can someone tell me what I am doing wrong? Regards, Bill |
Have you tried printing a plain text file rather than the test page?
There can be an issue with the test page as it uses fonts that may not be included in your Slackware installation. |
Thanks for the response, allend. "server" will accept jobs from "desktop" & I have sent it OOo output, plain text files, etc., with the same result as the test page. Are there any other suggestions?
Regards, Bill |
Is your HP DeskJet 952C connecting via USB?
If so, then I would suspect a problem with udev on your server. Check the output of lsusb. I am assuming that your desktop and server are equivalent in having full Slackware 12.0 installations. |
Just another thought, have you got your server set up as a raw print queue?
If the documents to be printed have been formatted on your desktop, then the server just needs to pass the already formatted file through to the printer. |
Well, I finally solved this hassle. allend wrote:
Quote:
Anyway, it is working. Thanks allend, for sticking with me. I appreciate it. Regards, Bill |
I ran into a very similar issue about a year ago with cups on my slackware 11 powered print server. Same situation as yours: no X11 installed.
The hordes of "foomatic-rip failed" messages made me decide to open up the foomatic-rip script with an editor to see what the heck was happening. It turned out that gs was called in the script when I knew there was something similar on my system (gs-no-x11 IIRC). I replaced "gs" with "gs-no-x11" and the print server started functioning as expected without depending on X. |
GushpinBob, thanks for the post. I tried using "gs-no-x11" in the "foomatic-rip" script, but it didn't work. Here's what I did:
a) Searched "foomatic-rip" for "gs". Only found one instance where it was called. b) Changed that instance of "gs to "gs-no-x11". c) Printed with no problems. d) Used "pkgtool" to remove all the X packages. e) Tried to print & got the "foomatic-rip failed" message. f) Threw my coffee mug across the room in disgust, re-installed the X packages & can print OK now. I was really hoping it would work, but the size on disk only increased by about 200M & I have plenty of room on my partition. At least I have it working. Thanks again, everybody. Regards, Bill |
Quote:
|
Libs required by 'gs'
This was a missing requirement for ghostscript as called from 'foomatic-rip', not CUPS. Even changing the program from 'gs' to 'gs-no-X11' in 'foomatic-rip' did no good.
Here is a listing of all the libs required by 'gs'. The marked ones are from the X series. Code:
bill@dataserver:~ Regards, Bill |
I have two foomatic-rips:
Code:
slocate foomatic-rip Btw, that script is so huge. I'm not sure how to find all gs occurrences. My suggestion, rename gs to gs-x11 and create a symlink from gs to gs-no-x11. |
Quote:
Regards, Bill |
Quote:
Regards, Bill |
All times are GMT -5. The time now is 12:06 PM. |