- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: print queue disabled - timeout value?
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
тАО05-11-2011 05:04 AM
тАО05-11-2011 05:04 AM
print queue disabled - timeout value?
I have two questions:
1) How long does the printer have to be offline before the queue becomes disabled?
2) I have a script that runs every 5 minutes that will disable then enable the queue if there are 10 or more jobs pending. Sometimes print jobs are printed twice when this script triggers. Can anyone suggest an alternative scripting solution?
Thanks,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 05:19 AM
тАО05-11-2011 05:19 AM
Re: print queue disabled - timeout value?
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 12:30 PM
тАО05-11-2011 12:30 PM
Re: print queue disabled - timeout value?
Please paste in the output of hppi.
# hppi
If you don't have hppi then you can download it from here:
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?тМй=en&cc=us&pnameOID=18922&taskId=135&prodTypeId=18972&prodSeriesId=27349тМй=en&cc=us
This is how admins have been doing since HPUX 9 or so. Its a menu driven utilty use to be from jet direct.
Note the diagnostics option in the menu and see if you can figure it out our self - if you can, then respond.
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 12:35 PM
тАО05-11-2011 12:35 PM
Re: print queue disabled - timeout value?
****************************************************************
*****] ****
**** ] **** JetDirect Printer Installer for UNIX
**** ]]]]] ]]]]] **** Version E.10.34
**** ] ] ] ] ****
**** ] ] ]]]]] **** M A I N M E N U
***** ] ****
****** ] **** User: (root) OS: (HP-UX B.11.31)
I N V E N T
****************************************************************
1) Spooler Administration (super-user only)
2) JetDirect Configuration (super-user only)
- TCP/IP configurable parameters
3) Diagnostics:
- diagnose printing problems
?) Help q) Quit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 02:00 PM
тАО05-11-2011 02:00 PM
Re: print queue disabled - timeout value?
b) Name of printer and ip address
c) Someone on at the printer who can verify its operation,i.e., its ONLINE
d) Select diagnostics, answer questions aksed by hppi, if you get confused then post all the questions beginning with diagnostics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 04:53 AM
тАО05-12-2011 04:53 AM
Re: print queue disabled - timeout value?
Here's the scenario I'm dealing with:
Users take the physical printer offline. An application is still sending jobs to that queue. The users then put the physical printer back online, but the jobs do not print. I have to run a disable/enable on the queue to get the jobs to print. When I do this a duplicate job is printed.
I've been troubleshooting HP-UX jobs for years with disable/enable and never have seen (or maybe just never noticed) duplicate jobs. Maybe it's related to the model of the physical printer?
For business reasons the duplicates are causing large problems. It's not as easy as telling the users to discard them.
Thanks,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:39 AM
тАО05-12-2011 07:39 AM
Re: print queue disabled - timeout value?
# /usr/bin/lpstat [-t]
Cancel jobs
# /usr/bin/cancel job-ID [printer]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 02:44 PM
тАО05-13-2011 02:44 PM
Re: print queue disabled - timeout value?
modifyqueue -q printer_name -t off -r off
for each printer. To add a new printer, skip SAM/smh completely and use addqueue like this:
addqueue -q newPrinterName -h 12.34.56.78 -t off -r off -b off
(-b off is to turn off the pre-job banner page)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 12:06 PM
тАО05-17-2011 12:06 PM
Re: print queue disabled - timeout value?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 06:53 PM
тАО05-17-2011 06:53 PM
Re: print queue disabled - timeout value?
Bill Hassell, sysadmin