Operating System - HP-UX
1825195 Members
4490 Online
109679 Solutions
New Discussion юеВ

How to add network printer to HP-UX WS

 
Nuwan Alwis
Valued Contributor

How to add network printer to HP-UX WS

Hi all,
Can any one please help me to add network printer to HP_UX system.Better if instruct me in console mode also
6 REPLIES 6
Davis Paul
Valued Contributor

Re: How to add network printer to HP-UX WS

HI ,
Use the sam to configure network printer.
Sam > Printers and Plotters > LP Spooler > Printers and Plotters > Actions Menu > Add Network-Based Printer/Plotter.
Redhat
Trusted Contributor

Re: How to add network printer to HP-UX WS

use :
/opt/hpnpl/bin/addqueue -i -h -q

/opt/hpnpl/bin/addqueue -L : to list the printer id
CharlesC
Advisor

Re: How to add network printer to HP-UX WS

See if the following help:

****************************************
1. Check for any ongoing print job:
#> /usr/bin/lpstat -u
#> /usr/bin/lpstat -o

Cancel print job if necessary:
#> /usr/bin/cancel


2. Stop the LP spooler:
#> /usr/sbin/lpshut


3. Confirm the following line is not commented out in /etc/inetd.conf
printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i


4. Confirm the following line is not commented out in /etc/services
printer 515/tcp spooler #remote print spooling


5. Use the following command to add the print queue:
#> /usr/sbin/lpadmin -p -v /dev/null -mrmodel -orm -orp -ocmrcmodel -osmrsmodel_no -ob3
#> /usr/sbin/accept
#> /usr/bin/enable
#> /usr/bin/lpstat -s | grep


6. Restart the LP spooler:
#> /usr/sbin/lpsched


7. (Optional) Test the print queue as following:
#> lp -d /etc/hosts
#> lpstat -t
****************************************
What if...
Nuwan Alwis
Valued Contributor

Re: How to add network printer to HP-UX WS

Hi all, Thanks for the advice. but the pinter im talking about here is a network printer which does not required a Host system. it is directly connected to the network.
i check the connectivity by pinging and it worked. also i have added this to /etc/hosts file. but when i print it shows in the spool but dosent get printed.

1)will there be any driver issue( Laser Jet 2600n)

2)how can i add this through USB port. if no other option.
Dennis Handly
Acclaimed Contributor

Re: How to add network printer to HP-UX WS

>2) how can i add this through USB port. if no other option.

I don't believe USB printers are supported.
On 11.31 they do have USB DVD.

And since you said, WS, that just about limits you to 11.11.
V. Nyga
Honored Contributor

Re: How to add network printer to HP-UX WS

Hi,

you said:
Thanks for the advice. but the pinter im talking about here is a network printer which does not required a Host system. it is directly connected to the network.
i check the connectivity by pinging and it worked. also i have added this to /etc/hosts file. but when i print it shows in the spool but dosent get printed.

1)will there be any driver issue( Laser Jet 2600n)
---------------------------------------------------
What do you mean?
You have to configure the printer at least through SAM - add it as a network printer.
There should start a window with:
JetDirect Printer Installer
You have to select line 1:
1) Spooler Administration (super-user only)
and then:
1) Add printer to local spooler

Don't worry when the ping test doesn't work, just continue.
You can test to use the configuration of a HP LaserJet 2100 Series. Its line 48:
48) Hewlett-Packard LaserJet 2100 Series

When printing check if the configuration is right, else you have to choose another config - maybe LaserJet 4 works ...

Else you can try to add your model to the configuration - there's a thread here where (when I remember right) Bill Hassell describes how to add a new printer from HP.
One the other side, if the printer is very new, it's maybe not useable for hp-ux.
It seems like some new printer from HP don't have the feasibility to work in a hp-ux environment.
This you have to check, too.
You have to use a JetDirect box then.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***