- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding printers without losing current print j...
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
01-19-2006 01:55 PM
01-19-2006 01:55 PM
Adding printers without losing current print jobs
I would like to be able to stop the printing system to add a printer, but after perusing man pages, it seems to me there is no way to stop the printing system while guaranteeing that any particular print does not print twice.
From man pages:
disable - By default, any requests that are currently printing on the designated printers are reprinted in their entirety either on the same printer or on another member of the same class.
lpshut - Requests that were printing at the time a printer was shut down are reprinted in their entirety after lpsched is started again.
This 'reprinted in their entirety' is the problem as it may cause two sets to appear if one is being printed when the printer is disabled, and it prints again when the printer is enabled.
Other commands, like lpmove etc need lpsched stopped. lpalt could be used to move requests to a 'pre-disabled' queue, but I think that would still allow a race condition....
Can anyone recommend a way of doing this?
It gets old having to wait until the wee hours of the morning when no printing is happening to hit lpshut....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:08 PM
01-19-2006 02:08 PM
Re: Adding printers without losing current print jobs
Then add/delete printers, lpsched -v, then accept all queues...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:12 PM
01-19-2006 02:12 PM
Re: Adding printers without losing current print jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:16 PM
01-19-2006 02:16 PM
Re: Adding printers without losing current print jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:18 PM
01-19-2006 02:18 PM
Re: Adding printers without losing current print jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 06:55 PM
01-19-2006 06:55 PM
Re: Adding printers without losing current print jobs
Why do you need to stop the printer for adding a printer.
You can add a printer without stopping the printer spooler. After you add the printer you can enable the printer without losing any current printjobs.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 09:50 AM
01-22-2006 09:50 AM
Re: Adding printers without losing current print jobs
If only the -p and -v options are supplied, lpadmin can be used while the scheduler is running.
Unfortunatly I want to use the '-i' option to define the interface program as well.
Doug