- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tracking Print Queues
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
11-18-2004 10:01 AM
11-18-2004 10:01 AM
Tracking Print Queues
Has anyone written a script that they are willing to share? I would like to track printer usage to any given printer by user, total entries, number of pages printed, and usage by time of day (to create a trending graph). Is any of this possible on 11.11? Thanks.
Bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 11:00 AM
11-18-2004 11:00 AM
Re: Tracking Print Queues
Plan B: Create a script that is called by each /var/spool/lp/interface/printername. Essentially you would add 1 line to each of your interface files. The interface receives the printer_name, request_id, user, title, copies, options, and the full path of the file to be printed. You could pass these on to your script.
Finally, page numbers are all but meaningless these days unless you are printing ASCII text only. PCL, Postscript, and graphics make pages meaningless except to the application that generates the output stream.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 11:26 AM
11-18-2004 11:26 AM
Re: Tracking Print Queues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 11:28 AM
09-21-2005 11:28 AM
Re: Tracking Print Queues
I'm curious about the lp wrapper idea. Have any idea how to write and implement something like that?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 09:20 PM
09-21-2005 09:20 PM
Re: Tracking Print Queues
if you want to monitor consumables' consumption (is this a tautology?, sorry English isn't my native tongue)
,e.g. like pages printed, from which tray, filling of cartriges etc., I would go for SNMP.
If the printers in use aren't quite of the budget commodity type they are most likely to keep counters that can be queried by SNMP.
I'm afraid not being able to offer you any ready scripts for this purpose since my sort of administrative tasks aren't focused around printers (lucky me), why I haven't cared yet for writing those.
But I do have an O'Reilly book at my shelf about Network Printing that has several code examples to do exactly this.
I also lack knowing the required OIDs by heart, but such a refernce as the mentioned book will tell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 09:50 PM
09-21-2005 09:50 PM
Re: Tracking Print Queues
The simple answer would be through :
/var/spool/lp/log and lpstat ..
Cheers,
Raj.