Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up HP Server JetDirect 500X 2

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

I have an HP JetDirect 500X printer server (3 ports). I know how to setup single ports using the HP Network printer manager but I have never noticed an option to identify the port on which the printer is attached.

So, if I have 3 ports, how do I configure my printers to print on their respective ports?

Thank you all in advance!



Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
man hpnpf

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
You need to modify the printer's interface file AFTER you create the additional printers. This is from an SCO Tech Article (#105327):

6. Add a variable "PORTNO" to the interface below lines 16 and 17.


EXAMPLE:
====================
MODEL=`basename $0`
REALMODEL=`echo $0 | sed -e "s%$MODEL%model.orig/$MODEL%"`
PORTNO="9101" (line 18)



Note: Your first port maps to 9100 by default. Port 2 maps to 9101 and port 3 to 9102.
Add the following changes to the printer interface:


echo "$1\t$REALMODEL | $HPNPF -x $PERIPH -p $PORTNO" >> $LPLOG

The above line would be found on or about line 38.

if $REALMODEL "$@" | $HPNPF -x $PERIPH -p $PORTNO 2> $LOG > /dev/null


The above line should be found on or about line 54.

By default, you won't be able to print to printers attached to ports 2 or 3 unless the printer on port 1 is powered up and online.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top