Please Help Me installing Hp 2300 Deskjet
Please Reply Me With Quick Solution as Soon as Possible!!!!!!!
Thanks,,,
Anyone Know How to Install Hp Deskjet D2360 in Puppy Linux
-
- Posts: 2
- Joined: Sun 22 Feb 2009, 06:45
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.
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.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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 And should I do that by default for my puppy releases?rcrsn51 wrote: Change the top line to #!/usr/bin/perl -U
Thanks
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 :)
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.
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, 17:26, edited 1 time in total.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
naaa worked for me great job I totally understand it now thanks you very much
ttuuxxx
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 :)
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.