How to Install CUPS 1.3.9 in Puppy 4.2.x [Updated]

Problems and successes with specific brands/models of printers
Message
Author
User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: How to Install Cups 1.3.9 in Puppy 4.2

#16 Post by WhoDo »

w6kkt wrote:WhoDo, File location: /usr/lib/cups/filter/foomatic-rip-hplip.
Edit top line to read; #!/usr/bin/perl -U

Puppy4.2 & Cups 1.4 on my computer left out the "-U"
Done! Thanks, w6kkt. 8)

@rcrsn51 - Yes, I just got lazy when describing the version of CUPS and yes it is a b2 version.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#17 Post by ecomoney »

'd like to implement this in CUPS-1.4 beta 2 for the next release of Puppy-4.2.x
(correction mine)

Did I read that correctly Whodo? You are planning to use a beta testing version of the printing system in the next Puppy? :shock:
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
jackieflorida
Posts: 118
Joined: Wed 28 May 2008, 17:16
Location: MIAMI

#18 Post by jackieflorida »

w6kkt wrote:
WhoDo, File location: /usr/lib/cups/filter/foomatic-rip-hplip.
Edit top line to read; #!/usr/bin/perl -U
It works for me with my old HP Deskjet 3845 which went into error condition before making this edit.

Thanks w6kkt

HP-TQ-RPM
Posts: 20
Joined: Tue 24 Mar 2009, 01:43

#19 Post by HP-TQ-RPM »

Go to the folder /usr/lib/cups/filter
Locate the file foomatic-rip-hplip and open it in a text editor
The only file I find is a symlink foomatic-rip (no -hplip), and a psearch for foomatic didn't locate anything with -hplip. Did I botch something in steps 1-7?

(And my HP Deskjet D4260 isn't working. :( )

Edit: I found this this thread http://www.murga-linux.com/puppy/viewtopic.php?t=40913
Go to Menu > Setup > Puppy Package Manager.
Select the System group and download the hpijs-2.8.2-static-1.pet
Installing this created the foomatic-rip-hplip file, which I was then able to edit.

After installing the hpjis.pet my printer works. :) :) The current CUPS setup does not show you the username & password needed for the final step of the printer setup. They are root & woofwoof.[/quote]
---------------------------------------------------------------------------
Jonathan.....future ex-windows user.
Puppy 4.20 Frugal on Toshiba Satellite A45, WinXP/Puppy, 2.5GHz Celeron, 1GB Ram, 120GB HD, Sierra 811 Aircard via AT&T.

User avatar
jackieflorida
Posts: 118
Joined: Wed 28 May 2008, 17:16
Location: MIAMI

#20 Post by jackieflorida »

TO: HP-TQ-RPM

See w6kkt's correction quoted in my post just above yours.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#21 Post by DaveS »

Just a little further input here from more experimenting. I am using an HP printer that does not have a native Gutenprint driver, and results using one that was close were OK, but not great. Loading CUPS 1.39 as above along with the two packages hplipfw-p42-3.9.2-i486.pet and hplip-ppd-p42-3.9.2-i486.pet as recommended here, plus the config file gave me a native driver and cured the instability issues I was having with 1.4. HOWEVER, it did consume serious pupspace. SO. I uninstalled the two packages hplipfw-p42-3.9.2-i486.pet and hplip-ppd-p42-3.9.2-i486.pet, and installed the package hpijs-2.8.2_static-1 via the package manager. I updated the foomatic filter with -U as described above, and it all worked perfectly. It was however 27 MB smaller. Which was nice :D
I found re-booting to be essential. When I tried it without re-boot, the test page printed about 30% then hung. Following a re-boot, all was fine.
Summary: If you are using an HP printer without a native Gutenprint driver, first download hpijs-2.8.2_static-1 from the package manager, go to /usr/lib/cups/filter and open foomatic-rip-hplip in Geany. Add

Code: Select all

 -U
to the top line so that it looks like this

Code: Select all

#!/usr/bin/perl -U
And with a bit of luck, you will have a native driver for not much extra overhead. You will of course still have CUPS 1.4, but if you want to change it for 1.39, just follow the instructions at the beginning of this thread.
Spup Frugal HD and USB
Root forever!

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#22 Post by Patriot »

Hmmm ...

@DaveS
I'd like clarify a bit of what I know about the hplip packages. For those who're still in the dark, hpijs has been incorporated into hplip. Recent hplip packages have gain considerable size due to the number of newer printer driver support plus the older ones (inclusion from hpijs). It is still possible to produce only hpijs set from hplip packages.

It is also possible to make individualized printer driver packages for specific printer model(s) that really cuts down the size but other considerations such as man-hour needed, storage/download space and future maintenance obviously makes it not worthwhile.

It is very much possible for users to trim down the size by removing unneeded modules or drivers. The bulk of the storage space for hplip is consumed by static ppd drivers and users should use their own discretion to remove what's not required. For example, removing the unneeded static ppd drivers for printers that one does not need is a good start.

I had an idea back then to make a modified hplip static ppd set that only install user selected drivers but alas, time pressures threw me off course. Perhaps someone can pick this one up ?

Rgds

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#23 Post by DaveS »

I'm not especially fierce about saving space, but I guess anyone who uses Puppy is, like me, enchanted by the whole minimal concept. I like to back up my 'save' file, so I keep all my work outside of the save file, and use the save file only for Puppy configuration, so keeping it small helps with back-up speed. Hence the attempt to minimise the printing overhead.
Spup Frugal HD and USB
Root forever!

User avatar
Uten
Posts: 129
Joined: Tue 29 Jan 2008, 11:00

#24 Post by Uten »

HP-TQ-RPM wrote:
Go to Menu > Setup > Puppy Package Manager.
Select the System group and download the hpijs-2.8.2-static-1.pet
I used to get "foomatic-rip failed" messages. But this solved that for me and my HP DeskJet F4100.

Thanks.. :D
(puppylinux 4.20, CUPS 1.4b2)

Post Reply