HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Enabling Print Queue's Automatically
Operating System - HP-UX
1836645
Members
1624
Online
110102
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
Forums
Discussions
Discussions
Discussions
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
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
04-26-2006 11:43 AM
04-26-2006 11:43 AM
Enabling Print Queue's Automatically
Hi all
I have a Remote print queue in my setup ,
the print queue often get's disabled , i agree there may be some problem with the physical availability of the printer ,
My concern is , do we have a mechanism to get disable after certain period or certain retries before it is getting disabled .
Expecting your Valuable Suggesstions
Thanks
Sathish
I have a Remote print queue in my setup ,
the print queue often get's disabled , i agree there may be some problem with the physical availability of the printer ,
My concern is , do we have a mechanism to get disable after certain period or certain retries before it is getting disabled .
Expecting your Valuable Suggesstions
Thanks
Sathish
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 12:45 PM
04-26-2006 12:45 PM
Re: Enabling Print Queue's Automatically
The automatic disabling occurs as a result of the exit status of the queue's interface file. If the scripts exits with 0, all is well. You could setup a cron job to run lpstat and look for any disabled printers and reenable them but generally the "fix" requires some human intervention so that any automatic enable process really does nothing.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 01:45 PM
04-26-2006 01:45 PM
Re: Enabling Print Queue's Automatically
Hi,
I had the same problem before and I edited the script for the remote printer. Comment out the line that disable the print queue while return state is not equal to 0.
GOOD LUCK!!
I had the same problem before and I edited the script for the remote printer. Comment out the line that disable the print queue while return state is not equal to 0.
GOOD LUCK!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 01:53 PM
04-26-2006 01:53 PM
Re: Enabling Print Queue's Automatically
Except the effect of your "fix" is that as far as the system knows the job completed sucessfully and this the job is removed. It's much better to let the exit status do it's job so that 1) the job will be printed when the queue is re-enabled 2) the users are notified that the printer is disabled.
If it ain't broke, I can fix that.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP