- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: label printer gets disabled immediately after ...
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
Discussions
Discussions
Forums
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
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
тАО08-31-2015 08:21 AM
тАО08-31-2015 08:21 AM
label printer gets disabled immediately after being enabled
OS: HP-UX B.11.11 (Wildebeast)
Printer: Intermec PF8t (labels)
Immediately after an 'enable', printer is briefly enabled then becomes disabled with no intervening print job. Jobs remain in queue. Attempted again after jobs cleared from queue, same result.
Printer was added to the spooler as a network printer. Spooler was restarted. Other printers are functioning.
Printer successfully executes test print cycle. Printer is pingable.
Verified configuration is the same for other functioning printers of the same model in HP Web JetAdmin and via telnet.
'lpstat -p' gives 'reason unknown' and fence priority of 0.
Any advice is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2015 06:53 PM - edited тАО08-31-2015 06:56 PM
тАО08-31-2015 06:53 PM - edited тАО08-31-2015 06:56 PM
Re: label printer gets disabled immediately after being enabled
Use hpnpf to print a small job and specify a log file like this:
# hpnpf -x 12.34.56 -l /tmp/hpnpf.log -N /etc/issue then # cat /tmp/hpnpf.log
hpnpf is the program that actually sends a print job to the printer. -x specifies the IP address of the printer. -N adds the CR after any LF (newline character in Unix). For a working printer, you'll see something like this in the log:
OpenLog: logging started (/tmp/hpnpf.log) 21:48:30 hpnpf[8166] Process: entered 21:48:30 hpnpf[8166] OpenSocket: entered 21:48:30 hpnpf[8166] OpenSocket: using 16K send buffer 21:48:30 hpnpf[8166] MakeConnection: 10.11.10.245, port 9100 21:48:30 hpnpf[8166] DoNonBlocking: non-blocking on 21:48:30 hpnpf[8166] Connection has been set up 21:48:30 hpnpf[8166] connected 21:48:30 hpnpf[8166] Process: sending file /etc/issue 21:48:30 hpnpf[8166] SendFile: entered 21:48:30 hpnpf[8166] SendFile: 559 bytes read from host 21:48:30 hpnpf[8166] SendFile: 559 bytes written to socket 21:48:30 hpnpf[8166] SendFile: 0 bytes read from host 21:48:30 hpnpf[8166] SendFile: end, return succ 21:48:30 hpnpf[8166] DoNonBlocking: non-blocking off 21:48:31 hpnpf[8166] Process: read EOF on socket 21:48:31 hpnpf[8166] StopLog: logging stopped
If there is a problem with the printer, you'll see the issue documented in the log. lp has no diagnostic ability at all. If the file prints OK, then there is something wrong with the the lp print queue setup and the easiest fix is to simply delete it and re-add the printer. If you are using SAM or SMH, save yourself a *lot* of time and use addqueue and removequeue to add and remove network (JetDirect style) printers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2015 12:34 PM
тАО09-01-2015 12:34 PM
Re: label printer gets disabled immediately after being enabled
I did as you suggested, and the log showed success. In fact, the printer is now enabled. However, nothing printed. Everything seems to work on the HP side, so I believe it is a communication issue between the JetDirect box and the printer. Thanks for the reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2015 01:11 PM - edited тАО09-01-2015 01:12 PM
тАО09-01-2015 01:11 PM - edited тАО09-01-2015 01:12 PM
Re: label printer gets disabled immediately after being enabled
Try the hpnpf test on another workng printer. This will verify that plain old ASCII will work OK with this type of printer. If it works, check to see if there is a test print button on your jetDirect box. That will verify the connection between the box and the printer.
Bill Hassell, sysadmin