Operating System - HP-UX
1832512 Members
4763 Online
110043 Solutions
New Discussion

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

 
Dummy_Guy
Advisor

HPUX won't print after hppi upgrade 10.34 - Urgent

Hi all,
I read everyone's question regarding hppi upgrade... however non of these solve my problem.
After I done the upgrade. I did:
Transfer Queue
Checked all file/directory (/etc/lp/interface/model.orig, /var/spool/lp, /var/adm/lp and /opt/hpnpl)
Remove all network printer and reinstall (using hppi or addqueue)
Spooler is running, printer is enabled
I also did the lpstat -t and hpnpf -x

Nothing work... I send print job to printer but it doesn't send to the printer, it just stay in /var/spool/lp/request/printer1

I don't know what else I missing...

One thing I don't understand is my log never updates... even I send print jobs over... it doesn't update /var/adm/lp/lp.log, why it that?

Furthermore, every time I send print job over, the printer change to disable. WHY??

(Hopeless Man)
7 REPLIES 7
Peter Godron
Honored Contributor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

John,
restart the lpsched scheduler with -v option to get some idea what is happening.
Dummy_Guy
Advisor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

No luck, mate...

:/etc/lp/interface #lpshut
scheduler stopped
:/etc/lp/interface #lpsched -v
scheduler is running

Still print job stucked...

I found /opt/hpnpl/bin/hpnpf doesn't run when I send print job?
Bill Hassell
Honored Contributor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

Check the status of your HP network printer with:

/opt/hpnpl/bin/hpnpadmin -v

It will report the status of the JetDirect card in the printer. NOTE: The first few lines will show whether this is an HP JetDirect LAN card. If it says that the card is not a network printer, it means that the LAN card is non-HP and is not compatible with HPPI. For a non-HP LAN card, add the printer using SAM as a "remote" printer, not a "network" printer. You'll need to knoe the printer's name inside the LAN card (from the LAN card's manufacturer).

If this is an HP JetDirect LAN card, you can trace the hpnpf program's tasks with the -l option:

/opt/hpnpl/bin/hpnpf -l /var/tmp/hpnpf.log -x 12.34.56.78 /etc/profile

The logfile (/var/tmp/hpnpf.log) will give you the details.


Bill Hassell, sysadmin
Dummy_Guy
Advisor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

Thank you... for reply
I have also done that test... they are alll jetdirect cards...
I have done hpnp.log..
:/tmp #more hpnp.log
22:16:31 hpnpf[1779]
OpenLog: logging started (/tmp/hpnp.log)
22:16:31 hpnpf[1779] Process: entered
22:16:31 hpnpf[1779] OpenSocket: entered
22:16:31 hpnpf[1779] OpenSocket: using 16K send buffer
22:16:31 hpnpf[1779] MakeConnection: 10.73.2.85, port 9100
22:16:31 hpnpf[1779] DoNonBlocking: non-blocking on
22:16:31 hpnpf[1779] Connection has been set up
22:16:31 hpnpf[1779] connected
22:16:31 hpnpf[1779] Process: sending file /etc/hosts
22:16:31 hpnpf[1779] SendFile: entered
22:16:31 hpnpf[1779] SendFile: 1090 bytes read from host
22:16:31 hpnpf[1779] SendFile: 1090 bytes written to socket
22:16:31 hpnpf[1779] SendFile: 0 bytes read from host
22:16:31 hpnpf[1779] SendFile: end, return succ
22:16:31 hpnpf[1779] DoNonBlocking: non-blocking off
22:16:31 hpnpf[1779] Process: read EOF on socket
22:16:31 hpnpf[1779] StopLog: logging stopped

That looks normal.

hpnp.status says,
:/tmp #more hpnp.status

Mar 30 22:16:31%%[ status: Job: ; User: ]%%
Mar 30 22:16:31%%[ status: making connection to wai_inv2; source: unknown link
type ]%%
Mar 30 22:16:31%%[ status: connected to wai_inv2; source: unknown link type ]%%
Mar 30 22:16:31%%[ status: transmitting data ]%%
Mar 30 22:16:31%%[ status: finish sending print data ]%%

Sanjay_6
Honored Contributor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

Hi John,

Did you swremove the old S/W.

Take a look at this link,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080049566

The ITRC doc id is KBRC00003485.

Hope this helps.

regds
Bill Hassell
Honored Contributor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

The communication logs from hpnpf look correct. So if nothing is printing (not even an activity light on the printer?), you may have a problem with the card itself. If the activity light flashes with no printout, the printer may be stuck in a job cancel loop. Try powering off the printer, then back on again. If the same situation exists, you may have to do a cold reset on the printer (which also clears the card).


Bill Hassell, sysadmin
Dummy_Guy
Advisor

Re: HPUX won't print after hppi upgrade 10.34 - Urgent

thank you Sanjay!!
That looks promising... I can't try it at the moment... due month end...

Strangely, after I restore back HP11d621.SD, remove all printer and reinstall... everything works fine!!

There is nothing wrong with Jetdirect... I can ping/telnet no problem...

So it is really the HP latest patch isn't working with old Jetdirect...

I will try again later... but any more advice is welcome!!