- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cancel prints on menu system
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
07-16-2001 09:44 AM
07-16-2001 09:44 AM
Cancel prints on menu system
I am creating a little menu so that I can delegate some of the mundane admin tasks such as cancelling print requests. I would like this done as non root, so I will put the users in the lp group and chmod 775 the /var/spool/lp/requests/* directories.
My only problem is: I would like the menu item to read in the 1, 2, 3 format, with item 2 being, List print jobs and prompt for the print job to cancel by having my admin support staff entering in cancel lp-1459 or quit to return to the menu.
Any ideas on how to get this done?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:08 AM
07-16-2001 10:08 AM
Re: Cancel prints on menu system
Here are links to a couple of forum threads about menu scripting. One of the threads has some sample code in attachments. It looks like a good place to start. You can probably modify the menu to handle a choice for cancelling jobs:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3beff9beca68d511abcd0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc1bc79bffde7d4118fef0090279cd0f9,00.html
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 04:05 PM
07-16-2001 04:05 PM
Re: Cancel prints on menu system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:03 AM
07-17-2001 03:03 AM
Re: Cancel prints on menu system
Here is my menu script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:17 AM
07-17-2001 03:17 AM
Re: Cancel prints on menu system
Thanks for your script/snip. I will review and advise, sorry I missed it earlier,
Nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:55 AM
07-17-2001 03:55 AM
Re: Cancel prints on menu system
Your script is quite good, but the quit does not work and you can not break out of it unless I press Ctrl C.
Was there more to the script, I am assuming.
Nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 08:03 AM
07-17-2001 08:03 AM
Re: Cancel prints on menu system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 08:44 AM
07-17-2001 08:44 AM
Re: Cancel prints on menu system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 09:24 AM
08-23-2001 09:24 AM
Re: Cancel prints on menu system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 09:52 AM
08-23-2001 09:52 AM
Re: Cancel prints on menu system
Create a restricted SAM for the user/group with access to only printer-management [Printers-plotters->LP splloer -> Print requests.
Thanks
Prashant.