- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Print from hppi but not lp -d
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:09 AM
07-13-2006 07:09 AM
Got an HP2400 that passes hppi diag.s just fine then hangs from 'lp' on the command line. Pings OK, connects from hppi OK, (see log below), the job passes through the queue when I observe it in hppi but then, it hangs from the command line.
# lpd -d (name) (file) <== hangs in queue
14:19:25 hpnpf[26033]
OpenLog: logging started (/home/michaels/UW19.log)
14:19:25 hpnpf[26033] Process: entered
14:19:25 hpnpf[26033] OpenSocket: entered
14:19:25 hpnpf[26033] OpenSocket: using 16K send buffer
14:19:25 hpnpf[26033] MakeConnection: 192.168.56.12, port 9100
14:19:25 hpnpf[26033] DoNonBlocking: non-blocking on
14:19:25 hpnpf[26033] Connection has been set up
14:19:25 hpnpf[26033] connected
14:19:25 hpnpf[26033] Process: sending file /home/michaels/test_print
14:19:25 hpnpf[26033] SendFile: entered
14:19:25 hpnpf[26033] SendFile: 74 bytes read from host
14:19:25 hpnpf[26033] SendFile: 0 bytes read from host
14:19:25 hpnpf[26033] SendFile: 74 bytes written to socket
14:19:25 hpnpf[26033] SendFile: end, return succ
14:19:25 hpnpf[26033] DoNonBlocking: non-blocking off
14:19:25 hpnpf[26033] Process: read EOF on socket
14:19:25 hpnpf[26033] StopLog: logging stopped
Comments?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:12 AM
07-13-2006 07:12 AM
Re: Print from hppi but not lp -d
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:21 AM
07-13-2006 07:21 AM
Solution1) Do an lpstat -pqueuename and cancel any outstanding jobs.
2) disable queuename # just to be safe
3) Now do ps and look for any hpnpf's to that device. If found, kill 'em.
4) ls -l | hpnpf -x 192.168.56.12 -p 9100 -n
# assuming port 9100 is your boy
Check for your directory listing output at the printer. If this works then the problem is within lp; if not, you have a communications problem.
5) enable queuename # when ready
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:31 AM
07-13-2006 07:31 AM
Re: Print from hppi but not lp -d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:37 AM
07-13-2006 07:37 AM
Re: Print from hppi but not lp -d
It is also (barely) possible that your hpnpf binary is corrupt but I assume that you have other Network printers which are working; if so, it ain't a corrupt executable file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 07:57 AM
07-13-2006 07:57 AM
Re: Print from hppi but not lp -d
# hpnpadmin -i W052
Printer Description:
--------------------
MFG :Hewlett-Packard;
CMD :PJL,MLC,BIDI-ECP,PCLXL,PCL,PDF,PJL,XHTML,MIME,POSTSCRIPT;
1284.4DL :4d,4e,1;
MDL :hp LaserJet 4345 mfp;
CLS :PRINTER;
DES :Hewlett-Packard LaserJet 4345 mfp;
Printer ID : 400
Or -v for even more info...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 06:50 AM
07-18-2006 06:50 AM
Re: Print from hppi but not lp -d
I thought this was weird.