- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing issue - need power cycle the printer betw...
Operating System - HP-UX
1821410
Members
2776
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО11-25-2009 02:30 PM
тАО11-25-2009 02:30 PM
Printing issue - need power cycle the printer between each print job
The issue with the printer is, we have to power cycle the printer between each print job. Talking with the printer tech support, they believe that when a print job is sent the application opens a port and sends the data but doesn't close the port. Since the port is left open the next print job is waiting on the previous opened port to close. Power cycling the printer closes the open port and the next print job prints.
We do not have this issue with the same printer and HP-JetDirect on the other queue.
But the two printer queues were created in different time, I suspected something incorrect with the configuration files under /etc/lp/interface/Print1 and /etc/lp/interface/model.orig/Print1
Btw, system is HPUX 11.11 with JetDirect E.10.34 installed.
Please help. Many thanks.
We do not have this issue with the same printer and HP-JetDirect on the other queue.
But the two printer queues were created in different time, I suspected something incorrect with the configuration files under /etc/lp/interface/Print1 and /etc/lp/interface/model.orig/Print1
Btw, system is HPUX 11.11 with JetDirect E.10.34 installed.
Please help. Many thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2009 04:20 PM
тАО11-25-2009 04:20 PM
Re: Printing issue - need power cycle the printer between each print job
You probably forgot to turn off the (awful) True-EOJ and job recovery options. These are very unstable with some printers. Most of the HP techs know very little about HPPI for Unix and there is almost nothing published concerning compatibility with HP-UX for any printer.
The correct command to add a printer is:
addqueue -q Print1 -h 12.34.56.78 -r off -t off -b off
(hppi is very cumbersome)
To fix the print queues, use modifyqueue:
modifyqueue -q Print1 -r off -t off
modifyqueue -q Print2 -r off -t off
(you can turn off the banner page with -b off)
FYI, all /etc/lp/interface scripts for JetDirect printers are identical except for the IP address stored internally. You can also compare the two printer scripts in model.orig to see the differences.
Bill Hassell, sysadmin
The correct command to add a printer is:
addqueue -q Print1 -h 12.34.56.78 -r off -t off -b off
(hppi is very cumbersome)
To fix the print queues, use modifyqueue:
modifyqueue -q Print1 -r off -t off
modifyqueue -q Print2 -r off -t off
(you can turn off the banner page with -b off)
FYI, all /etc/lp/interface scripts for JetDirect printers are identical except for the IP address stored internally. You can also compare the two printer scripts in model.orig to see the differences.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2009 07:17 PM
тАО11-25-2009 07:17 PM
Re: Printing issue - need power cycle the printer between each print job
Thanks Bill. I did not forget to turn off True-EOJ and job recovery options. As you mentioned I use "addqueue -q Print1 -h 12.34.56.78 -r off -t off -b off" to add the queue.
After I compared the two printers setting in model.orig, found:
Print2 (problem printer): #@(#) $Header: /users/hpnp/odyssey/repository/sh/net_lj5x.psh,v 1.2 2002/05/06 21:45:21 hpnp Exp $
Print1: #@(#) $Header: /users/hpnp/odyssey/repository/sh/net_lj5x.psh,v 1.93 1999/07/30 16:02:05 hpnp Exp $
Base on the files, both printer queues use ( 11) HP LaserJet 5Si net_lj5x), but the file structure looks different. I donot understand the reason why they are different.
After I compared the two printers setting in model.orig, found:
Print2 (problem printer): #@(#) $Header: /users/hpnp/odyssey/repository/sh/net_lj5x.psh,v 1.2 2002/05/06 21:45:21 hpnp Exp $
Print1: #@(#) $Header: /users/hpnp/odyssey/repository/sh/net_lj5x.psh,v 1.93 1999/07/30 16:02:05 hpnp Exp $
Base on the files, both printer queues use ( 11) HP LaserJet 5Si net_lj5x), but the file structure looks different. I donot understand the reason why they are different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2009 05:17 PM
тАО11-27-2009 05:17 PM
Re: Printing issue - need power cycle the printer between each print job
> Base on the files, both printer queues use ( 11) HP LaserJet 5Si net_lj5x), but the file structure looks different. I donot understand the reason why they are different.
The printer files should be identical. One is an ancient 1999 version and the other 2002. When you use addqueue, the script identifies the printer and picked the current net_lj5x script. The model script resides in /opt/hpnpl/sh and 2002 is the latest version. You can change the script anytime the printer is not active. I would cd to the model.orig directory and copy the working printer's script over the problem printer's script. NOTE: the working script might be the older version. Now since the two queues are the same printer, I suspect customization is present in one or both scripts. Be sure to find the differences so the replacement can be properly customized.
If this doesn't change the behavior, then the network script in the interface directory may be the problem. Since it is the same printer, just copy the working version. These scripts are (normally) never modified so a plain copy should be fine.
Bill Hassell, sysadmin
The printer files should be identical. One is an ancient 1999 version and the other 2002. When you use addqueue, the script identifies the printer and picked the current net_lj5x script. The model script resides in /opt/hpnpl/sh and 2002 is the latest version. You can change the script anytime the printer is not active. I would cd to the model.orig directory and copy the working printer's script over the problem printer's script. NOTE: the working script might be the older version. Now since the two queues are the same printer, I suspect customization is present in one or both scripts. Be sure to find the differences so the replacement can be properly customized.
If this doesn't change the behavior, then the network script in the interface directory may be the problem. Since it is the same printer, just copy the working version. These scripts are (normally) never modified so a plain copy should be fine.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP