Operating System - HP-UX
1833827 Members
2161 Online
110063 Solutions
New Discussion

Re: Printing to Port 9100 and above?

 
SOLVED
Go to solution
Stefan Schmidt
Frequent Advisor

Printing to Port 9100 and above?

We use HP-UX 10.20 and a networked LaserJet 4100N with HP internal JetDirect card. We programmed a socket listener on Port 9105 which resides in the LaserJet iself. How can we configure HP-UX to print on the printer through Port 9105? Tnx!
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: Printing to Port 9100 and above?

Hi,

within the lp interface script

/etc/lp/interface/

you should find a line that begins with:

xPORT=

Change this line to:
xPORT=9105

The variable xPORT is passed as an argument to hpnpf and defines the port to use.

See also 'man hpnpf'

Regards
Andreas Voss
Honored Contributor
Solution

Re: Printing to Port 9100 and above?

Hi,

just a correction:
xPORT has to be set to:

xPORT="-p 9105"

Regards
Stefan Schmidt
Frequent Advisor

Re: Printing to Port 9100 and above?

Tnx - Danke!
That worked perfect!