Operating System - HP-UX
1834493 Members
3628 Online
110067 Solutions
New Discussion

Printer Models using Jet Admin

 
Betsy Fletcher
Occasional Contributor

Printer Models using Jet Admin

Is there a way using jet admin to get a list of printer models, which having to go into the properties of each printer? Is there a way to search by serial number?
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Printer Models using Jet Admin

Betsy, no way to identify by serial number but
internal JetDirect's usually do a pretty good job of finding a suitable interface/model. With external jetdirects you should get a list to choose from. If you want to take matters into your own hands you might check out the addqueue command.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Printer Models using Jet Admin

Sorry Betsy, I hit the submit button too soon.
You might want to do hpnpadmin -i nodename (or address) command to query the jetdirect then use this information to an addqueue command.

man hpnpadmin and addqueue.

I suspect that these are not the answers you are looking for.

Clay
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Printer Models using Jet Admin

try installing a printer on an IP adress using jetadmin after typing the address , it will show you the list of models to chose from.

To get the serial no I think you need to go to the printer itself.


Manoj Srivastava

Stephen Tatrai
Advisor

Re: Printer Models using Jet Admin

Not sure I understand the question. The list JETADMIN uses is in /opt/hpnp/admin/PrinterList

I also have a script that shows what model I have for each printer queue. I use:

for a in \ `find /etc/lp/interface/model.orig/* -type f`
do
echo `basename $a` `grep -e " dumb " -e "PRINTMODEL=" $a`
done
Vincenzo Restuccia
Honored Contributor

Re: Printer Models using Jet Admin

The list of models that are available comes from the files in
/usr/spool/lp/model (which is linked to /usr/lib/lp/model on my system).
If
you put your file there, it will show up in jetadmin. The printer files in
the "interface" directory are executed by the spooler during printing. For
"jetdirect" printers this file will set up and process the I/O information
using the "interface/model.orig" script as a filter to process the PCL (or
Postscript) formatting. So, if you need to change the IP address of the
printer, you would want to modify the "interface" file, but if you wanted
to
change the default orientation or font, you would want to modify the
"interface/model.orig" file.

Stephen Tatrai
Advisor

Re: Printer Models using Jet Admin

You might also want to try using WEB JETADMIN
it give lots of information about the printers
including serial numbers