Operating System - HP-UX
1834178 Members
2347 Online
110064 Solutions
New Discussion

Printer ... issue .... lpstat and enable commands output

 
SOLVED
Go to solution
Manuales
Super Advisor

Printer ... issue .... lpstat and enable commands output

Hi ...
could you please let me know why is happening the following?

I'm sending to print reports from SAP Application and printer is down and down .. why is happening that one?

this is the output when i run lpsatat command and enable command ...

----------First time
lpstat MEXPrinter
/usr/sbin/rlpstat: Connection to MEXPrinter.hola.com is down

printer queue for MEXPrinter
Active connection from 111.222.333.444 lpd Service

server12: sending to MEXPrinter.hola.com


----------Second time
printer queue for MEXPrinter
JetDirect lpd: no jobs queued on the port Auto

server12: connection to MEXPrinter.hola.com failed

/usr/sbin/rlpstat: Connection to MEXPrinter.hola.com is down

please let me know ..

Thanks.
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Printer ... issue .... lpstat and enable commands output

You need to do some basic network troubleshooting. Can you ping the remote printer on a consistant basis. Can you ping by hostname as well as IP address? You are using a "Remote" printer rather than a "Network" printer. The "Remote" printer might be a dedicated lpd server on the printer itself or a printer attached to a host computer.
If it ain't broke, I can fix that.
Marco A.
Esteemed Contributor

Re: Printer ... issue .... lpstat and enable commands output

Try to nslookup the printer, after that use its ip address to ping'it.
If you can ping the printer, look at /etc/hosts file for the printer name and IP, and check that they are correct.

Hope this helps,

Rgds,
Just unplug and plug in again ....
Manuales
Super Advisor

Re: Printer ... issue .... lpstat and enable commands output

=============================
=============================
I HAVE DONE THE FOLLOWING:
=============================
=============================

It appears all is ok :S


ip address server12: 111.222.333.444

I'm on server12
$ nslookup MEXPrinter
Using /etc/hosts on: server12

looking up FILES
Trying DNS
Name: MEXPrinter.hola.com
Address: 123.456.789.123

$ /etc/ping 123.456.789.123
PING 159.223.90.52: 64 byte packets
64 bytes from 123.456.789.123: icmp_seq=0. time=133. ms
64 bytes from 123.456.789.123: icmp_seq=1. time=132. ms
64 bytes from 123.456.789.123: icmp_seq=2. time=184. ms
64 bytes from 123.456.789.123: icmp_seq=3. time=164. ms
64 bytes from 123.456.789.123: icmp_seq=4. time=268. ms
64 bytes from 123.456.789.123: icmp_seq=5. time=176. ms
64 bytes from 123.456.789.123: icmp_seq=6. time=153. ms
64 bytes from 123.456.789.123: icmp_seq=7. time=210. ms
64 bytes from 123.456.789.123: icmp_seq=8. time=99. ms
â ¥
----123.456.789.123 PING Statistics----
9 packets transmitted, 9 packets received, 0% packet loss
round-trip (ms) min/avg/max = 99/169/268
$ cat /etc/hosts | grep MEXPrinter
$ cat /etc/hosts | grep 123.456.789.123
$ /etc/ping MEXPrinter.hola.com
PING MEXPrinter.hola.com: 64 byte packets
64 bytes from 123.456.789.123: icmp_seq=0. time=176. ms
64 bytes from 123.456.789.123: icmp_seq=1. time=243. ms
64 bytes from 123.456.789.123: icmp_seq=2. time=163. ms
â ¥
----MEXPrinter.hola.com PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 163/194/243
$ lpstat MEXPrinter

printer queue for MEXPrinter
JetDirect lpd: no jobs queued on the port Auto

server12: MEXPrinter: ready and waiting
no entries
Marco A.
Esteemed Contributor

Re: Printer ... issue .... lpstat and enable commands output

Apparently the conectivity is good, what happens when you try to send some info to the printer directly, using the lp command? ...


rgds,
Just unplug and plug in again ....