Operating System - HP-UX
1834768 Members
3450 Online
110070 Solutions
New Discussion

Re: Need help with addqueue problem

 
SOLVED
Go to solution
Randy Hagedorn
Regular Advisor

Need help with addqueue problem

Hi,

We are trying to add a Zebra label printer that has a JetDirect network card in it.
However when we perform the the following command this error occurs. I can ping it, telnet to it and even hpnpadmin to it. Does anyone have any suggestions?

# addqueue -h 120.0.15.30 -q spik
Could not contact 120.0.15.30

Thanks in advance.
Randy
7 REPLIES 7
Thayanidhi
Honored Contributor

Re: Need help with addqueue problem

Hi,

Try

#cat | telnet 9100

to make sure the printer prints without
going through the lp spooler.

TT
Attitude (not aptitude) determines altitude.
Randy Hagedorn
Regular Advisor

Re: Need help with addqueue problem

TT,

That worked, so it seems that the printer can be reached from our system. Are you suspecting the spooler?

Thanks,
Randy
Thayanidhi
Honored Contributor
Solution

Re: Need help with addqueue problem

Hi,

Your printer,network settings are ok.
Check the spooler is ok,
Try other printers are ok.
instead using addqueue try using
the menu driven

#/opt/hpnpl/bin/hppi

Make sure you have loaded latest jetadmin s/w.

TT
Attitude (not aptitude) determines altitude.
Barry Feinberg
Occasional Advisor

Re: Need help with addqueue problem

We use addqueue all the time for our bar code printers. we use the printer name instead of the IP. Try this syntax:
/opt/hpnp/bin/addqueue -q printer_name -h printer_name -i 15
Jamal Asi
Advisor

Re: Need help with addqueue problem

There is no place where I see "printer name". In the printer status, there is printer followed by this:
Zebra QL 320 V79.50 09/02/04 FFFF XXVQ05-37-5029
I'm not sure if that is the printer name.
Jamal Asi
Advisor

Re: Need help with addqueue problem

I think the printer name is XXVQ05-37-5029.
I tried configuring the printer as follows:
I added the printer's ip address to the /etc/hosts file. I was able to ping the printer. I went into SAM and tried to configure the printer as a remote printer.
For the printer name, I entered the name that is in the /etc/hosts file. For the remote system name, I entered the same name.
For remote printer name, I entered the printer name XXVQ05-37-5029. I checked the remote printer name is on BSD system.
That did not work.
What port should the printer be pointing to?
515?
Geoff Wild
Honored Contributor

Re: Need help with addqueue problem

Does snmp work?

hpnpadmin -v 120.0.15.30

Try adding like so:

addqueue -i 9998 -q spik -h spik.yourdomain.com

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.