Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 May 2018, 20:50
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
"Foomatic-rip failed" one possible solution?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
malderson


Joined: 15 Nov 2007
Posts: 49
Location: Wisconsin, USA

PostPosted: Thu 22 Nov 2007, 01:53    Post subject:  "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.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8551
Location: Perth, Western Australia

PostPosted: Thu 22 Nov 2007, 18:03    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
johnmd

Joined: 09 Mar 2008
Posts: 11

PostPosted: Sun 09 Mar 2008, 21:20    Post subject: "Foomatic-rip failed" one possible solution?
Subject description: great - finally puppy will print
 

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
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Sun 09 Mar 2008, 22:51    Post subject:  

The newer HPIJS 2.8.2 includes its own version of foomatic rip called foomatic-rip-hplip.

HPIJS 2.8.2

md5sum

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Sun 30 Nov 2008, 15:35    Post subject:  

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 dealing with a "/usr/lib/cups/filter/foomatic-rip-hplip failed" error and tried to get this fix but the link is broken.

I am running 4.11-Normal Frugal

Quote:
# 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
#

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
jakobcornelis


Joined: 06 Nov 2007
Posts: 162
Location: Elliot Lake, Ontario

PostPosted: Sat 28 Feb 2009, 15:24    Post subject:  

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
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12000
Location: Stratford, Ontario

PostPosted: Sat 28 Feb 2009, 15:35    Post subject:  

Open Menu > Setup > Puppy Package Manager and select the System group. There is an hpijs-2.8.2_static_1.pet listed there.
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4421
Location: merriam, kansas

PostPosted: Sat 28 Feb 2009, 17:26    Post subject:  

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?driver=hpijs&fromprinter=HP-DeskJet_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

Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Sat 28 Feb 2009, 17:45    Post subject:  

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.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12000
Location: Stratford, Ontario

PostPosted: Sat 28 Feb 2009, 18:08    Post subject:  

Quote:
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.


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 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.
Back to top
View user's profile Send private message 
jakobcornelis


Joined: 06 Nov 2007
Posts: 162
Location: Elliot Lake, Ontario

PostPosted: Sat 28 Feb 2009, 21:18    Post subject:  

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
Back to top
View user's profile Send private message 
jakobcornelis


Joined: 06 Nov 2007
Posts: 162
Location: Elliot Lake, Ontario

PostPosted: Sat 28 Feb 2009, 21:52    Post subject:  

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
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4421
Location: merriam, kansas

PostPosted: Sat 28 Feb 2009, 22:01    Post subject:  

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

_________________

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

Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Sat 28 Feb 2009, 22:22    Post subject:  

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!

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
rjbrewer


Joined: 22 Jan 2008
Posts: 4421
Location: merriam, kansas

PostPosted: Sat 28 Feb 2009, 22:30    Post subject:  

The hpijs I'm using is 2.8.6

Don't remember where it came from. I have it stripped of every-
thing but the 4 necessary files and saved on a zip disk.
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

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0597s ][ Queries: 11 (0.0107s) ][ GZIP on ]