System Administration

Re: Model Script for HP LaserJet P3005 printer

 
SOLVED
Go to solution
Eric Chamba
Occasional Contributor

Model Script for HP LaserJet P3005 printer

I found a model script on http://www.hp.com/pond/modelscripts2/ for my new LaserJet P3005.

I downloaded net_lj3005.sh.Z and tried to install it the way I did with previous model scripts (last one was for LaserJet 4250dn a few months ago).

There was an error message while executing the script :
/tmp# uncompress net_lj3005.sh.Z
/tmp# sh net_lj3005.sh
x - 405.cfg [compressed]
x - installer [compressed]
x - net_lj3005 [compressed]
x - net_lj3005.1 [compressed]
./installer[21]: ./${r^JPID}.cfg: The specified substitution is not valid for th is command.
The installation is now complete!
/tmp#

But hppi is now unable to install the printer.

Enter the network printer name or IP address (q - quit): 192.168.X.XXX
ERROR: Printer configuration error
Could not find the printer configuration file
Please verify software installation
============================
I think the problem comes from the error while installing the script since I am able to install the printer with a generic model script on my other hpux box on which I did not install the net_lj3005 model script.

Did someone already install the net_lj3005 model script ?
6 REPLIES 6
OldSchool
Honored Contributor
Solution

Re: Model Script for HP LaserJet P3005 printer

yes, the installer is broken in that model script. you can fix it

first, run hppi and remove any net_lj3005 entires.

then make a backup copy of net_lj3005.sh. edit net_lj3005.sh and remove the last 4 lines (chmod through exit) and save it. then

sh net_lj3005.sh

this should unpack the pieces. you need to edit "installer". lines 67 and 68 are split between "r" and "PID", you need to join them so that it reads like:

cp ./${rPID}.cfg /opt

save the script and "chmod 755 installer"

then run:

./installer net_lj3005.sh

and it should go......
Chris House
Frequent Advisor

Re: Model Script for HP LaserJet P3005 printer

Perfect fix, now who do we have to email to get them to fix the script for future folks?
Dennis Handly
Acclaimed Contributor

Re: Model Script for HP LaserJet P3005 printer

>now who do we have to email to get them to fix the script for future folks?

I was going to suggest a feedback link on your URL but it says it isn't found and redirects.
OldSchool
Honored Contributor

Re: Model Script for HP LaserJet P3005 printer

Ok...

here's the link as it is *today*:
http://www.hp.com/pond/modelscripts/index2.html

and I submitted feedback w/ the required changes. Seems to me that I did that the first time I answered this one, but maybe not..
Kevin_Paul
HPE Pro

Re: Model Script for HP LaserJet P3005 printer

I have just received an updated version of this model script. If any of you are still monitoring this thread, and have a moment to give us feedback on if the changes have resolved your issue, I can pass that along before the updated version is posted to the model script page.

I'm attaching the file to this post.

Thanks for your help - and apologies for the delay!
I work for HPE.
OldSchool
Honored Contributor

Re: Model Script for HP LaserJet P3005 printer

looks good to me man....thx