HPE GreenLake Administration
Operating System - HP-UX
1832978
Members
2678
Online
110048
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
02-19-2004 05:05 AM
02-19-2004 05:05 AM
Printing
How can I get past shutting down the print subsystem everytime I want to add a new printer?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 05:08 AM
02-19-2004 05:08 AM
Re: Printing
You shouldn't have to when adding - only deleting - if you use the command line that is....I don't know about SAM.
On the command line:
addqueue -i 9998 -q QUEUENAME -h dnsname.yourdomain.com
To delete:
lpshut
lpadmin -XQUEUENAME
lpsched -v
Rgds...Geoff
On the command line:
addqueue -i 9998 -q QUEUENAME -h dnsname.yourdomain.com
To delete:
lpshut
lpadmin -XQUEUENAME
lpsched -v
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 05:08 AM
02-19-2004 05:08 AM
Re: Printing
You can't.
"lpadmin" won't allow you to add a printer with the scheduler running. However, it's not down for very long and you don't lose any print jobs.
"lpadmin" won't allow you to add a printer with the scheduler running. However, it's not down for very long and you don't lose any print jobs.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 05:34 AM
02-19-2004 05:34 AM
Re: Printing
The UNIX lp system is old and single-threaded. There are only a few lpadmin options that are allowed while the scheduler is running --- and adding a new printer ain't one of them. Man lpadmin for details. The good news is that you can do an lpshut, lpadmin to add the printer, and an lpsched and no spool jobs are lost. Currently printing jobs will continue but true end of job data will be lost.
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