1830241 Members
4001 Online
109999 Solutions
New Discussion

Re: New Script

 
Lynne Seamans
Regular Advisor

New Script

Hi .. we just got a networked HP9000 printer and when we went to attach it to our HP-UX 11.0 system, there wasn't a script. We used one for the HP8000 instead, and it MIGHT be close enough, but are new printer definites available somewhere or am i just behind in patching ?
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: New Script

Hi,

I am not sure about the script that you are talking about. Was it developed in-house using jetadmin commands?.

You will have to load the network printer software. You can get it from here.

http://www.hp.com/cposupport/prodhome/hpjdprinte18922.html

FAQs and installation tips are available there.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
monasingh_1
Trusted Contributor

Re: New Script

I think you may be refering to interface/model script. If you do not find the right one , you are right, just choose the closest you can find...
Bill Hassell
Honored Contributor

Re: New Script

Actually, it's a lot easier than that. Don't run hppi (or jetadmin), use addqueue as in:

addqueue -h 12.34.56.78 -q printer3

(or whatever queue name you want to use) The addqueue command queries the printer and then picks the appropriate printer script.


Bill Hassell, sysadmin
Robert True
Frequent Advisor

Re: New Script

I can sympathize with Lynne, Bill. What happens when the printer does not tell addqueue (or hppi)? This is long standing bone I have with the printer / hppi group. There is no x reference of the possible choices presented by hppi. Even if you know what the printer type is, say a lj4, you don't know which one of the several items that mention lj4 in the subject line might be the best one to pick from the +50 odd choices you have available. I have to assume the 1/2 doz or so entries for lj4 have a purpose, so why are they not cross referenced? I run into the problem all the time migrating printers where I might know how it was configured on the old system, but have to keep guessing, until I hit the item that builds it to match the old by quess work. Transferqueue works pretty good, if I have it available, but it I do not, and the printer does not respond to the query, it should not have to be that hard.
Steve Steel
Honored Contributor

Re: New Script

Hi

Most new printers can use an existing script.

look at

http://www.hp.com/pond/modelscripts/



steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Bill Hassell
Honored Contributor

Re: New Script

Unlike PCs where the driver is VERY specific to the printer model, HP-UX uses a SysV lp spooler and rather simple printer scriptws. The majority of the code inside the script is designed only for ASCII text files and if the printer does not support a particular feature (like output tray #5) then it is ignored by the printer.

addqueue is just a simple program that looks up the ID of the printer and matches it with an approp[riate script. If addqueue does NOT match an LJ4 with the right script, there is a big problem. The printer did not self-ID to the addqueue request or the printer is not connected using a standard HP JetDirect LAN interface. There aren't that many printer scripts for addqueue to choose, but if it asks the admin to choose a specific printer script then the connection is not supported. Every HP Laserjet printer starting with the LJ4 have a selft-ID known to addqueue (assuming that addqueue has been updated with the latest version of HPPI. JetDirect software (like HPPI) should be updated every few months or at least when a brand new printer is purchased.

And note that HP LaserJets and HP Deskjets (CopyJets, multifunction inkjet) printers are very different and may not work at all in the HP-UX environment.


Bill Hassell, sysadmin