"Foomatic-rip failed" one possible solution?
"Foomatic-rip failed" one possible solution?
I just "solved" a problem with a CUPS/Foomatic printer. "Foomatic-rip" problems seem pretty common, so I want to share in case it can help someone else.
I am using Puppy 3.01 as a full hard-disk install, with an HP Deskjet 3915 printer. Following suggestions from this Forum I got it to print using CUPS and the hpijs-2.7.10 pet from www.puppylinux.ca/bugs/.
After installing and deleting both "official" Ghostview .pet packages, the printer stopped working. CUPS reported "Foomatic-rip failed". I spend several hours in the Forum and on the web, and finally figured out that CUPS/Foomatic needs Ghostscript to work. (It actually says so on the CUPS Printer Test Page, but I'm new at this.)
I opened the console and entered "gs" to see what would happen. It reported that the "gs_init.ps" file was missing. I checked in "usr/share/ghostscript/8.15" and it was indeed gone! I'm guessing uninstalling the Ghostview packages broke it.
I tried downloading and extracting "ghostscript-8.15.tar.gz" from the Ghostscript website to replace the 8.15 directory, but it didn't work. The "gs" executable in Puppy 3.01 points to ver. 8.15.04, not 8.15, and I don't know how to fix it. Finally I booted Puppy from the live CD, used Pupzip to make a tar.gz of the active Ghostscript directory, and copied it to a USB drive. I booted back into the Hard Puppy and trashed the Ghostscript directory in "usr/share". I copied the new tar.gz file to the hard drive, then extracted a new Ghostscript directory to "usr/share". I reinstalled the printer in CUPS, and it worked!
I doubt this procedure would work for everyone, but it did work once.
All is not perfect. ePDFview fails to print and I don't know how to fix that, but as I have the Adobe Reader 5 .pup installed, and it will print, I'm at least functional for PDF files.
I am using Puppy 3.01 as a full hard-disk install, with an HP Deskjet 3915 printer. Following suggestions from this Forum I got it to print using CUPS and the hpijs-2.7.10 pet from www.puppylinux.ca/bugs/.
After installing and deleting both "official" Ghostview .pet packages, the printer stopped working. CUPS reported "Foomatic-rip failed". I spend several hours in the Forum and on the web, and finally figured out that CUPS/Foomatic needs Ghostscript to work. (It actually says so on the CUPS Printer Test Page, but I'm new at this.)
I opened the console and entered "gs" to see what would happen. It reported that the "gs_init.ps" file was missing. I checked in "usr/share/ghostscript/8.15" and it was indeed gone! I'm guessing uninstalling the Ghostview packages broke it.
I tried downloading and extracting "ghostscript-8.15.tar.gz" from the Ghostscript website to replace the 8.15 directory, but it didn't work. The "gs" executable in Puppy 3.01 points to ver. 8.15.04, not 8.15, and I don't know how to fix it. Finally I booted Puppy from the live CD, used Pupzip to make a tar.gz of the active Ghostscript directory, and copied it to a USB drive. I booted back into the Hard Puppy and trashed the Ghostscript directory in "usr/share". I copied the new tar.gz file to the hard drive, then extracted a new Ghostscript directory to "usr/share". I reinstalled the printer in CUPS, and it worked!
I doubt this procedure would work for everyone, but it did work once.
All is not perfect. ePDFview fails to print and I don't know how to fix that, but as I have the Adobe Reader 5 .pup installed, and it will print, I'm at least functional for PDF files.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Yes, I'm getting the dreaded "Foomatic-rip failed" message in Dingo Puppy.
It is so so so frustrating as I cannot figure out what is wrong. In Dingo, gs is installed properly and works. Foomatic-rip has a debug mode that logs to a file in /tmp, but that doesn't work. I tried replacing foomatic-rip with a bash script that just logs what params get passed in,but that doesn't even execute. In other words, it seems that foomatic-rip isn't even being executed, even though the "Foomatic-rip failed" message is being displayed. CUPS troubleshooting is such a dark art.
It is so so so frustrating as I cannot figure out what is wrong. In Dingo, gs is installed properly and works. Foomatic-rip has a debug mode that logs to a file in /tmp, but that doesn't work. I tried replacing foomatic-rip with a bash script that just logs what params get passed in,but that doesn't even execute. In other words, it seems that foomatic-rip isn't even being executed, even though the "Foomatic-rip failed" message is being displayed. CUPS troubleshooting is such a dark art.
"Foomatic-rip failed" one possible solution?
thanks malderson - i've spent ages trying to get puppy to print as a live cd (puppy 3.01) and each time gave up in frustration - put it back on the shelf - or should one say back in the pound - anyway with your hint - and now having puppy as a hard disc install - i downloaded hpijs-2.8.2_static_fix.pet from saource you gave and installed it and amazingly it worked - great - many thanks - glad i didn't need to go into all your ghostscript stuff - way over my head - thanks again
The newer HPIJS 2.8.2 includes its own version of foomatic rip called foomatic-rip-hplip.
HPIJS 2.8.2
md5sum
HPIJS 2.8.2
md5sum
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
I am dealing with a "/usr/lib/cups/filter/foomatic-rip-hplip failed" error and tried to get this fix but the link is broken.Wolf Pup wrote:The newer HPIJS 2.8.2 includes its own version of foomatic rip called foomatic-rip-hplip.
HPIJS 2.8.2
md5sum
I am running 4.11-Normal Frugal
# gs
ESP Ghostscript 815.02 (2006-04-19)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>^C
# hpijs
unable to init hpijs server
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
- jakobcornelis
- Posts: 172
- Joined: Tue 06 Nov 2007, 15:37
- Location: Elliot Lake, Ontario
This thread caught my attention because I, too, have an HP Deskjet 3915 that won't print under CUPS, even though CUPS s a y s it prints (job completed, etc.). Can anyone explain this?
I finished installing a frugal install of Puppy 4.1.2. Cups uses deskjet.ppd, which I believe was in the /usr/share/cups/model directory originally) to accomplish faking the printing action. With "HP Deskjet 3845 or 3920 Foomatic/hpijs.ppd (recommended)" I get the notorious "/usr/lib/cups/filter/foomatic-rip-failed" error notice. When trying to print the test page, the job is reported as "stopped"
By the way, to get to the latest HPIJS files, go to www.puppylinux.ca/, which is what Wolf Pup's link relates to, and click on the "bugs" menu item there. But you've probably figured that out by now. However, there is no hpijs-2.8.2_static_fix.pet there, as distinct from hpijs-2.8.2.pet, which I assume are not the same.
I am what is known on this forum as a "rank beginner", which is why I posted a thread on this subject in the Beginners' forum (which so far has not resulted in a solution), and never thought to look here where the vets are, who apparently occasionally are as frustrated as I am, including BarryK himself, no less. That makes me feel slightly, but only slightly, better.
So, how can CUPS be telling me my printer is working when it isn't?
jc
I finished installing a frugal install of Puppy 4.1.2. Cups uses deskjet.ppd, which I believe was in the /usr/share/cups/model directory originally) to accomplish faking the printing action. With "HP Deskjet 3845 or 3920 Foomatic/hpijs.ppd (recommended)" I get the notorious "/usr/lib/cups/filter/foomatic-rip-failed" error notice. When trying to print the test page, the job is reported as "stopped"
By the way, to get to the latest HPIJS files, go to www.puppylinux.ca/, which is what Wolf Pup's link relates to, and click on the "bugs" menu item there. But you've probably figured that out by now. However, there is no hpijs-2.8.2_static_fix.pet there, as distinct from hpijs-2.8.2.pet, which I assume are not the same.
I am what is known on this forum as a "rank beginner", which is why I posted a thread on this subject in the Beginners' forum (which so far has not resulted in a solution), and never thought to look here where the vets are, who apparently occasionally are as frustrated as I am, including BarryK himself, no less. That makes me feel slightly, but only slightly, better.
So, how can CUPS be telling me my printer is working when it isn't?
jc
Jacob;
You didn't follow the suggestions I gave the other day; let's try
again. Though there may be enough difference between my 3930
and your 3915 to make it not possible.
1. Delete any printer packages you have been trying to install.
2. Install 2.8.2 static hpijs from the package manager.
3. Go to this site and scroll down; generate ppd files for deskjet
3845, 3920.
http://openprinting.org/show_driver.cgi ... skJet_3930
4. Move these files from my-documents to usr/share/cups/model.
5. Start cups--add printer--yes--manage printers--add printer.
6. name--hpdeskjet--continue.
7. device--usbprinter#1 39xx.--continue.
8. model driver--hp--continue--deskjet 39xx foomatic recommended,
continue.
9. added--success--printers--set as default--print test page.
Here's hoping
rjb
You didn't follow the suggestions I gave the other day; let's try
again. Though there may be enough difference between my 3930
and your 3915 to make it not possible.
1. Delete any printer packages you have been trying to install.
2. Install 2.8.2 static hpijs from the package manager.
3. Go to this site and scroll down; generate ppd files for deskjet
3845, 3920.
http://openprinting.org/show_driver.cgi ... skJet_3930
4. Move these files from my-documents to usr/share/cups/model.
5. Start cups--add printer--yes--manage printers--add printer.
6. name--hpdeskjet--continue.
7. device--usbprinter#1 39xx.--continue.
8. model driver--hp--continue--deskjet 39xx foomatic recommended,
continue.
9. added--success--printers--set as default--print test page.
Here's hoping
rjb
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
I understand that Puppy 4.2 contains a significantly improved CUPS which reportedly cures most of the bugs that have plagued the recent versions of CUPS.
I have 4.2-Beta2 and booted it on a laptop here - looks good!
Cannot really test CUPS since every copy seems to interact with every other one on the same Network and we have several computers in the house.
My plan is to load 4.2 on all of the computers at the same time and then test things.
Not sure of the Final Release date for 4.2 but it should be really soon.
I have 4.2-Beta2 and booted it on a laptop here - looks good!
Cannot really test CUPS since every copy seems to interact with every other one on the same Network and we have several computers in the house.
My plan is to load 4.2 on all of the computers at the same time and then test things.
Not sure of the Final Release date for 4.2 but it should be really soon.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Personally, I never had any trouble with the current version of CUPS in 4.xx, other than its inability to delete a print job. Other users had problems when they couldn't find a compatible driver or they had issues with networked printers.I understand that Puppy 4.2 contains a significantly improved CUPS which reportedly cures most of the bugs that have plagued the recent versions of CUPS.
I just tested the hpijs-2.8.2_static_1.pet with an HP-6P compatible networked printer under 4.1.2 and it worked fine.
- jakobcornelis
- Posts: 172
- Joined: Tue 06 Nov 2007, 15:37
- Location: Elliot Lake, Ontario
rj: I think I followed all your earlier suggestions -- in any case, I followed them again, and gets me exactly where I was before, with a "....foomatic-rip failure". I used each of the printer drivers with numbers closest to the printer's, one of which (3920) is "recommended", presumably for the HP Deskjet 3915. All drivers lead to the same failure.
What I am wondering is what does hpijs-2.8.2_static_1.pet have to do with all this? Having installed this at the suggestion of rcrsn51 I modified the printer with a few of the hpijs-2.8.2_static-1.files, with the same result as before (can a .gz file be used for this?)
Of all my trials, the driver that comes closest to the objective (deskjet.ppd) is the one that gets CUPS to report success in all respects except for making the printer go.
I haved examined the CUPS error log, but I don't have enough savvy to make any sense out of it.
What now? Any other suggestions?
jc
What I am wondering is what does hpijs-2.8.2_static_1.pet have to do with all this? Having installed this at the suggestion of rcrsn51 I modified the printer with a few of the hpijs-2.8.2_static-1.files, with the same result as before (can a .gz file be used for this?)
Of all my trials, the driver that comes closest to the objective (deskjet.ppd) is the one that gets CUPS to report success in all respects except for making the printer go.
I haved examined the CUPS error log, but I don't have enough savvy to make any sense out of it.
What now? Any other suggestions?
jc
- jakobcornelis
- Posts: 172
- Joined: Tue 06 Nov 2007, 15:37
- Location: Elliot Lake, Ontario
By the way, I just got my old Canon BJC 2000 out of the attic. It took all of five minutes to plug it in (parallel), set it up with CUPS, and get it printing.
Maybe, unless anyone has any further bright ideas, I'll just stick with this. I think cups just doesn't like Deskjets.
Although I hate leaving the problem unsolved.
jc
Maybe, unless anyone has any further bright ideas, I'll just stick with this. I think cups just doesn't like Deskjets.
Although I hate leaving the problem unsolved.
jc
Actually; cups loves Deskjets.
Really don't understand whats going on with yours.
My 3930 is working fine with my old drivers from last year,
or with the 2.8.2 static and ppd.
Maybe just that particular model?
rjb
Really don't understand whats going on with yours.
My 3930 is working fine with my old drivers from last year,
or with the 2.8.2 static and ppd.
Maybe just that particular model?
rjb
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
The most recent versions of CUPS have had terrible problems with my OfficeJet. My OJ 4215 worked fine then in the 4.x releases of Puppy and subsequent CUPS updates it got ugly.
No one has been able to figure out why so I am praying that it is true that 4.2 & CUPS will play more nicely together.
It could be specific with the types of printers in an individual network (I have a Samsung laser, OJ 4215, and plan to add a HP C4480), computers are several laptops and one desktop.
Lots of variables!
No one has been able to figure out why so I am praying that it is true that 4.2 & CUPS will play more nicely together.
It could be specific with the types of printers in an individual network (I have a Samsung laser, OJ 4215, and plan to add a HP C4480), computers are several laptops and one desktop.
Lots of variables!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
- jakobcornelis
- Posts: 172
- Joined: Tue 06 Nov 2007, 15:37
- Location: Elliot Lake, Ontario
I just want to thank the folks that helped me search for a solution to my problem of getting my HP Deskjet 3915 working with CUPS. I'll be keeping my eyes open for anything that might lead to a solution, but meanwhile I'll stick with my old Canon BJC 2000. At least now I can print.
That was the only essential element missing after I started using Puppy. I want to say here, although speaking to the converted, that Puppy has been a delightful experience, after a bogged down (even though newly installed) Windows XP, which seemed to oblige me to expend endless hours on fixing all kinds of malfunctions. I finally had to say, enough is enough.
I am greatly impressed with the helpful attitude of the people on this forum; I hope that one day I can match their enthusiasm -- when I actually know something.
Thanks, folks!
jakobcornelis
That was the only essential element missing after I started using Puppy. I want to say here, although speaking to the converted, that Puppy has been a delightful experience, after a bogged down (even though newly installed) Windows XP, which seemed to oblige me to expend endless hours on fixing all kinds of malfunctions. I finally had to say, enough is enough.
I am greatly impressed with the helpful attitude of the people on this forum; I hope that one day I can match their enthusiasm -- when I actually know something.
Thanks, folks!
jakobcornelis
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hi jakobjakobcornelis wrote:I just want to thank the folks that helped me search for a solution to my problem of getting my HP Deskjet 3915 working with CUPS. I'll be keeping my eyes open for anything that might lead to a solution, but meanwhile I'll stick with my old Canon BJC 2000. At least now I can print.
That was the only essential element missing after I started using Puppy. I want to say here, although speaking to the converted, that Puppy has been a delightful experience, after a bogged down (even though newly installed) Windows XP, which seemed to oblige me to expend endless hours on fixing all kinds of malfunctions. I finally had to say, enough is enough.
I am greatly impressed with the helpful attitude of the people on this forum; I hope that one day I can match their enthusiasm -- when I actually know something.
Thanks, folks!
jakobcornelis
I'm from Ontario also, Near Ottawa, How's it going eh?
Anyways I've been working on the cups section of the next 4.2 release of Puppy, Patriot the user on here has also lent a hand getting the parallel printing going, so in the near future it might be all worked out for you. In a couple of days after the 1st, the server will be back online, out of bandwidth for the month. Then I can maybe lend you a hand with the updated files you might need. Glad to have ya around, and it doesn't take long before you become Linux savvy. So feel free to ask as many questions as you want
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Unless you are me ... "still crazy after all these years ..."... it doesn't take long before you become Linux savvy. So feel free to ask as many questions as you want
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
ya I have learning disabilities also, I never learned how to deal with women, For some odd reason I'm always wrong or at fault.edoc wrote:Unless you are me ... "still crazy after all these years ..."... it doesn't take long before you become Linux savvy. So feel free to ask as many questions as you want
oh well
lol ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)