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 Fri 28 Nov 2014, 16:45
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Anyone Know How to Install Hp Deskjet D2360 in Puppy Linux
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
asim987345

Joined: 22 Feb 2009
Posts: 2

PostPosted: Tue 07 Apr 2009, 08:07    Post subject:  Anyone Know How to Install Hp Deskjet D2360 in Puppy Linux  

Please Help Me installing Hp 2300 Deskjet
Please Reply Me With Quick Solution as Soon as Possible!!!!!!!


Thanks,,,
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 07 Apr 2009, 08:26    Post subject:  

Your Deskjet D2360 uses the HPIJS driver, which can be installed into Puppy.

Go to Menu > Setup > Puppy Package Manager.
Select the System group and download the hpijs-2.8.2-static-1.pet
Follow the steps to install it.

If you are using Puppy 4.2, there is another step.

Go to the folder /usr/lib/cups/filter
Locate the file foomatic-rip-hplip and open it in a text editor
Change the top line to #!/usr/bin/perl -U

Restart the CUPS daemon. Go to a console and type: /etc/init.d/cups restart

Go to the Setup menu and run the CUPS Printer Wizard.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 09:24    Post subject:  

rcrsn51 wrote:

Change the top line to #!/usr/bin/perl -U

Why do you have to do that step? Sure I made the printing package for 4.2, But before that I never really used CUPS, So I'm asking due to lack of knowledge of the subject and just want to learn a bit Wink And should I do that by default for my puppy releases?
Thanks
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


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

PostPosted: Tue 07 Apr 2009, 12:52    Post subject:  

The file in question is part of the HPIJS driver package, not part of the CUPS install. The full explanation is in Patriot's 1.3.9 thread, but here is the basic idea.

The foomatic software sits between CUPS and Ghostscript and is used with certain drivers, like HPIJS. (Gutenprint doesn't need it.) You can tell by looking in the PPD file to see how the print job needs to be processed. The old foomatic code was written as Perl scripts. In CUPS 1.1.23, the Perl interpreter would happily run the foomatic code and send the print job over to Ghostscript.

However, the new CUPS versions have much tighter security requirements concerning ownership of the print job whenever external programs need to be run. This is part of the whole "running as root" issue. Now when Perl runs the foomatic script, it detects some permissions conflict in the job and aborts. The solution is to run Perl in -Unsafe mode so Perl will ignore whatever it doesn't like.

Puppy has foomatic in two places. The first is in /usr/bin and is used, for example, by printers in the pnm2ppa group. However, when you (ttuuxxx) upgraded to CUPS 1.4b, the Perl scripts were replaced by binary code. This eliminates the problem for these printers.

The other foomatic is in the hpijs.pet. It is still a Perl script, so must be patched after it is installed into a Puppy that has a new version of CUPS. Eventually, this package will need upgrading, either by adding the -U patch or by compiling its foomatic.

I think that's a reasonable explanation, but Patriot is better qualified than I to speak on the issue.

Last edited by rcrsn51 on Tue 07 Apr 2009, 13:26; edited 1 time in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 12:59    Post subject:  

naaa worked for me great job I totally understand it now thanks you very much Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Jackm

Joined: 31 Jul 2008
Posts: 38

PostPosted: Sun 31 May 2009, 19:35    Post subject: HPIJS words on other models too  

I just used this package to install my HP D2430 printer. It worked. No doubt this package handles the entire D series for this HP printer line.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 31 May 2009, 19:52    Post subject:  

If you are running Puppy 4.2.1 Final, the new hpijs-3.9.4-dynppds.pet is available through the Puppy Package Manager. This is a one-step procedure to install the HPIJS driver package.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
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.0532s ][ Queries: 12 (0.0044s) ][ GZIP on ]