Operating System - HP-UX
1834454 Members
2287 Online
110067 Solutions
New Discussion

Re: How do I install a new printer model script with Jet Direct

 
SOLVED
Go to solution
EJ Stremler
Frequent Advisor

How do I install a new printer model script with Jet Direct

I needed a model script for a new HP printer to be installed by Jet Direct, that I found on this site: http://www.hp.com/pond/modelscripts/index2.html


I downloaded the appropriate model script for the printer, uncompressed it, and put it locally on the system.. Is there any way I can install this locally?, it is asking for a URL when I'm using Jet Direct. or what directory contains the model scripts, and what file permissions do I need?
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: How do I install a new printer model script with Jet Direct

Ed,

If I recall correctly, when it asks for the URL, you give it the URL of the script you found at http://www.hp.com/pond/modelscripts/index2.html and hppi downloads and installs it.


Pete

Pete
skt_skt
Honored Contributor

Re: How do I install a new printer model script with Jet Direct

copy the interface and model script to /var/sam/lp/interface and /var/sam/lp/interface/model.org and run

for example.

lpadmin -pABSC_4SE18_AEP -i/var/sam/lp/interface/ABSC_4SE18_AEP -v/dev/null

i would recommed to do this as a test first and confirm u are able to print..
Bill Hassell
Honored Contributor

Re: How do I install a new printer model script with Jet Direct

The correct way to install the downloaded script is to uncompress the file into a temp directory and run the shar file:

# mkdir /tmp/jdscript
# mv net_lj4600.sh.Z /tmp/jdscript
# cd /tmp/jdscript
# uncompress net_lj4600.sh.Z
# sh net_lj4600.sh
x - 306.cfg [compressed]
x - installer [compressed]
x - net_lj4600 [compressed]
x - net_lj4600.1 [compressed]

The installation is now complete!

Unfortunately, there don't appear to be any instructions so by examining the *.sh file, it appeared to be a shar file with built-in installer and cleanup code.

You need to follow this procedure because it will configure hppi (and addqueue) to recognize the new printer automatically, it will move the new printer script into the /opt/hpnpl/sh directory so it works with hppi and addqueue, and also installs the man page for the printer script.


Bill Hassell, sysadmin
EJ Stremler
Frequent Advisor

Re: How do I install a new printer model script with Jet Direct

Excellent!!! Thank you for all your help. I was able to install the printer I needed with the correct model script, by unsharing the downloaded file...