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 Thu 18 Dec 2014, 22:19
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to Install CUPS 1.3.9 in Puppy 4.2.x [Updated]
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Author Message
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Sat 04 Apr 2009, 21:24    Post subject: Re: How to Install Cups 1.3.9 in Puppy 4.2
Subject description: pup4.2 & cups 1.4
 

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. Cool

@rcrsn51 - Yes, I just got lazy when describing the version of CUPS and yes it is a b2 version.

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 05 Apr 2009, 15:55    Post subject:  

Quote:
'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? Shocked

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
jackieflorida


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: Fri 10 Apr 2009, 13:56    Post subject:  

w6kkt wrote:
Quote:
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
Back to top
View user's profile Send private message 
HP-TQ-RPM

Joined: 23 Mar 2009
Posts: 20

PostPosted: Sat 11 Apr 2009, 22:30    Post subject:  

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

Edit: I found this this thread http://www.murga-linux.com/puppy/viewtopic.php?t=40913

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


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: Sat 11 Apr 2009, 22:59    Post subject:  

TO: HP-TQ-RPM

See w6kkt's correction quoted in my post just above yours.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Fri 17 Apr 2009, 04:53    Post subject:  

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 Very Happy
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:
 -U
to the top line so that it looks like this
Code:
#!/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!
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Fri 17 Apr 2009, 10:32    Post subject:  

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


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Fri 17 Apr 2009, 13:14    Post subject:  

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

Joined: 29 Jan 2008
Posts: 52

PostPosted: Wed 06 May 2009, 17:34    Post subject:  

HP-TQ-RPM wrote:

Quote:
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.. Very Happy
(puppylinux 4.20, CUPS 1.4b2)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
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.0794s ][ Queries: 12 (0.0045s) ][ GZIP on ]