1833847 Members
2334 Online
110063 Solutions
New Discussion

Priinter issue ....

 
Manuales
Super Advisor

Priinter issue ....

Hi all ..
this is the issue ...

Printer name: Priinter1.europe

if i run ping command, it works.
if i run lpstat command, it works
if i run nslookup Printer1.europe , it works

THIS IS THE ISSUE:
From SAP i'm sending printings, Sap's log indicates (sp01 transaction):
"waiting for output formatter"

this printer Printer1.europe has its queue on unix into a server named server10

if i go to server10 and if i run lpstat command i can see the printing there on queue:

$ lpstat Printer1
Printer1-278 userDMA priority 0 Mar 20 15:01 from server10 on Printer1
005Fyvdx.PR3 6317 bytes
Printer1-141 userdma priority 0 Mar 20 15:23
test.txt 15 bytes
Printer1-279 userDMA priority 0 Mar 20 15:41 from atlup10
005Fyvdy.PR3 6317 bytes
$
If i run ping command,, it works .. i can reach the printer with no problems ..
question is:
why the printings are on queue, if the printer server10 reaches the printer correctly through ping command?
this printer is located in a different network from server10 network

ip of the printer Printer1.europe --> 150.10.10.2
ip of the server server10 --> 130.10.1.2

please let me know.
thanks.
9 REPLIES 9
Manuales
Super Advisor

Re: Priinter issue ....

unix version : HP-UX B.11.23
Michael Steele_2
Honored Contributor

Re: Priinter issue ....

Well this certainly looks like a 'SAP'PER issue. Try this procedure, which is an enhancement to what you've already done, test a network printer.

a) lpstat -p queuename (* might be P. *)
b) cancel any jobs
c) disable queuename
d) ls -l | hpnpf -x 'ipaddress' 9100 -n

e) if it hangs => there's a network problem. If it prints then delete and add in queuename, contact the sappers, and,

f) enable queuename

Note: hpnpf is the HPPI daemon. If you don't have HPPI then what are you using? JetDirect?
Support Fatherhood - Stop Family Law
Manuales
Super Advisor

Re: Priinter issue ....

ok, let me work what you are saying ..
yes, i am using WEB Jetadmin

$ ps -fea | grep hpnpf | wc -l
34

let me work you said ...
Manuales
Super Advisor

Re: Priinter issue ....

Michael
for the step

ls -l | hpnpf -x 'ipaddress' 9100 -n

why ls?
do not you mean to run ps?

please let me know
Michael Steele_2
Honored Contributor

Re: Priinter issue ....

Well, jetadmin is an entirely different beast than HPPI. Most HP users have gone to HPPI and abandoned JetAdmin.

So follow this procedure instead:

1) # jetadmin (* type in *)
2) select diagnostics (* menu option # 2 *)
3) examine spooler operations (* menu option # 2 *)
4) select your printer
5) answer 'yes' to everything and observe the test print job running through the queue.
6) view /tmp/hpnpflog (* if there *)

If you suceed and can print then queue operations on the server are OK. If not then check the following: ip, netmask, gateway, jetdirect firmware, speed and duplex beteen nic and switch, port 9100 in fire wall.
Support Fatherhood - Stop Family Law
Manuales
Super Advisor

Re: Priinter issue ....

I use Web Jetadmin
and also , if i run the command:

$ ps -fea | grep hpnpf | wc -l
34

appears 34 processes, then i have two tools??
please let me know ..

Manuales
Super Advisor

Re: Priinter issue ....

I run:
/opt/hpnpl/bin/hpnpf -x Printer1.europe test.txt

after that i run netstat command and appears:

150.10.10.2.9100 SYN_SENT

what is the meaning of SYN_SENT?

i broke the commando run ( /opt/hpnpl/bin/hpnpf -x Printer1.europe test.txt with ctrl + c) and after that i run netstat command and that conexion was not showed ....

is there a network issue?
Manuales
Super Advisor

Re: Priinter issue ....

as aditional information, when the process was running , when i run neetstat some times was showed:
150.10.10.2.9100 SYN_SENT

and sometimes was not showed.

what could be happening?
skt_skt
Honored Contributor

Re: Priinter issue ....


check queue is enabled
Check the ports are open/listen

for n/w printer
#telnet QIPaddresss 9100

for remote queue
#telnet QIPaddresss 515