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
10-11-2002 03:56 AM
10-11-2002 03:56 AM
Idea
to
/var/spool/lp/request/printer_new ?
It should work.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 04:11 AM
10-11-2002 04:11 AM
Re: Idea
I think you will find that there is also a definition file for the print job, held in another directory.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 04:20 AM
10-11-2002 04:20 AM
Re: Idea
For example to delete old spooler request we can use something like
lpstat -i lp_name | grep ^lp.. | awk '{print $1}' | xargs cancel
but it is easier to delete the files from /var/spool/lp/requests/lp_name
Any idea how to do it faster ?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 04:39 AM
10-11-2002 04:39 AM
Re: Idea
Create an alias for that command on your .profile called 'printerclear' or something.
I have always tried to use the HP-UX commands rather than fiddle with the resultant files, as HP can conceivably change the way the system does things internally. Using the commands is a future-proof way of doing things (you will get an upgrade notification when the command changes, but not necessarily when the internals change).
Why not automate the script to check for overdue printouts, cancel them over a certain period and email you the results? Do you have Openview?
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 04:46 AM
10-11-2002 04:46 AM
Re: Idea
I will schedule a job to check all the jobs older that 2 days and to delete them.
It is the best way to keep the spoolers clean.
It was a mistake that I posted. I wanted to reply to one posted message but I am new and I created a new message instead :-).
Sorry...
Regards,