1827965 Members
2455 Online
109973 Solutions
New Discussion

Model Script Change

 
SOLVED
Go to solution
Bill Brutzman
Frequent Advisor

Model Script Change

I need to change a printer from "Generic Laser" to "PCL3" in HP-Ux v10.01.

I tried to delete the printer [queue], re-booting the HP-Ux box, assigning a new IP address to the JetDirect... but it is still stuck there.

Upon creation of a new printer, I expect that I need to see a list of models.

Suggestions would be appreciated.

3 REPLIES 3
Bill Brutzman
Frequent Advisor

Re: Model Script Change

The reason that I need to do this is because it is an old LJ-IIID printer and it prints out peasky blank pages with only "@PJL" at the top. Of course, this printer does not support PJL, only PCL.
Bill Hassell
Honored Contributor
Solution

Re: Model Script Change

That's correct. @PJL is a symptom of an advanced printer model script used on one of the classic printers (LJ-3Si is the first to use PJL) like the LJ-2 and LJ-3. Changing the script is actually a lot easier than deleting and re-adding. The active printer scripts are located in /etc/lp/interface/model.orig and are renamed copies of the model scripts in /usr/lib/lp/model. You could just copy PCL3 from /usr/lib/lp/model/PCL3 to the model.orig directory but rename the script from PCL3 to the LJ-IIID printer's name.

Since this is 10.01, your opsystem is very old so we'll have to guess at what is happening with the old jetadmin program. Start by making sure the printer still has an IP address. I think that the old LJ-IIID printer uses the original JetDirect card (same as the LJ-II and LJ-III) which has a button to perform a selftest page. Use ping to check the IP address. You can also use hpnpadmin to gather info from the printer. Use hpnpadmin -v IP_address to query the printer. Checkk if you have the addqueue command in /opt/hpnp/bin. If so, try this command: addqueue -h 12.34.56.78 -q lj3d


Bill Hassell, sysadmin
Bill Brutzman
Frequent Advisor

Re: Model Script Change

Although copying scripts did not appear to work, as part of doing this I ran hppi from a telnet station rather than from the server console.

This version of hppi seemed different and allowed menu options to adjust model scripts.