Operating System - HP-UX
1834814 Members
3015 Online
110070 Solutions
New Discussion

Re: Printer not printing.

 
M Yasir Khan
Occasional Advisor

Printer not printing.

Hi All,

We are using HP 9000 k570 with HP 10.20 OS.

I defined a network pronter in our system. after some time it'd stopped printing. when i see the log it shows "printer: connection is not available, keep trying".

How can i resolve this problem??? can any1 guide??

Thanks in Advance,

Yasir.
novice here...
8 REPLIES 8
M Yasir Khan
Occasional Advisor

Re: Printer not printing.

Futhermore, when i check the status of the printer through SAM. under "enable to print" it says... Yes, Busy. How can i change it to Yes, Idle ???

TIA,

Yasir.
novice here...

Re: Printer not printing.

Can you ping the printer from your host?

If you have jetadmin, or the newer HP Printer Installer prtoduct, there is a useful diagnostic tool which guides you through printer problems. Try:

# jetadmin

and if that doesn't work:

# hppi

This will put you into a simple text based menu that has some diagnostic options available.

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Steve Steel
Honored Contributor

Re: Printer not printing.

Hi


1)Latest spool and network patches.

2)Latest jatadmin software

3)Maybe printer firmware.


#!/usr/bin/sh
#
# Show stats for JetDirect printer(s)
#
set -u
QTY=$# alled ( [PHSS_17155/PACHRDME/Engl
if [ $QTY -lt 1 ] ing a different X server or an X
then time of this document's release,
echo rted in version 6.0 and later
echo Usage:
echo " $0 network-name [ more network-names ...]"
exit 1
fi

while [ $QTY -gt 0 ]
do
############# /opt/hpnp/bin/hpnpadmin -WwtSsqOnlaifEba $1

for OPT in W w t S s q O n l a i f E b a
do
echo
echo "***************** OPTION: $OPT *********************************"
/opt/hpnp/bin/hpnpadmin -$OPT $1
done
shift
QTY=$(( $QTY - 1))
done



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Rita C Workman
Honored Contributor

Re: Printer not printing.

OK..
You can use Jetadmin on HPUX and use that tool or you can do it from command line.

1.Printer connection not available.
++++ try doing a ping to the printer-does it work? If not your problem may be:
The printer is off or offline
The printer network cable is disconnected or bad
The printer port is not activated or bad
(check and resolve until you get a good response for network connectivity)

2.Printer shows busy in SAM
++++ yes because their are print jobs hanging waiting to be printed. You can:
lpstat to check status and decide if you want to cancel these jobs (or not)
cancel
Now if you have multiple print jobs that may only kill the 1st job. You can write a script to hit all of them or cancel one at a time
disable will disable any further jobs from being sent to printer
enable will re-active printer to accept jobs.

3. Also trying doing a nslookup by IP or printer and by name of printer to ensure it is resolving properly and something hasn't gone awry or an IP hasn't gotten dup'd somewhere..

Just a couple thoughts,
Rit
pap
Respected Contributor

Re: Printer not printing.

Hi,
Looking to your problem description it is definate that there is something wrong with network connection.

1. Try to ping the printer with IP address as well as by name.

2. Check the name resolver and NIS/DNS services on your network(If you are using it).

3. Check the /etc/bootptab file if you are using is for global printer definations.
4. Finally you can stop the schedular and start it
/sbin/init.d/lp stop
/sbin/init.d/lp start

I am sure you will fix your problem.

-pap
"Winners don't do different things , they do things differently"
Sachin Patel
Honored Contributor

Re: Printer not printing.

Hi Khan,
You can even try disable printer and enable printer command it might fix it.
If you have setup spooler using jetadmin. start stop print schedular
lpshut and lpsched.

may be try removing that print queue and setup again.

Sachin
Is photography a hobby or another way to spend $
Steve Post
Trusted Contributor

Re: Printer not printing.

Walk over to the printer and it out. It sounds like it's dead.
If the printer uses a 3port hpjetdirect printserver, make sure the printer is in the first port.

Also do this.
1. turn off the printer
2. turn off the print server
3. turn on the printer
4. make sure the printer has paper, and is on line, and it plugged into the first port.
5. THEN, turn on the print server.

Now after these steps, you can start to look at unix.
Mark Greene_1
Honored Contributor

Re: Printer not printing.

try nslookup on the printer name to ensure that the address can be resolved, and then do a traceroute from the HP box to the printer to verify that you have network connectivity.

mark
the future will be a lot like now, only later