- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Who is using printer?
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
05-08-2006 08:14 PM
05-08-2006 08:14 PM
People in company tend to use printer for taking nonsense printouts.
We found that our printer is being used to much. Is there any way to know who all are giving print commands and how much pages are being printed by each of them.
Very very thanks if you could give any solution.
Thanks & regards,
Prasad.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 08:22 PM
05-08-2006 08:22 PM
Re: Who is using printer?
you could use the lpstat command:
while true
do
date
lpstat
sleep 30
done
Or, most printers have a built in history queue which you can get to at the printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 08:29 PM
05-08-2006 08:29 PM
Re: Who is using printer?
You can use lpsatat command.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 09:17 PM
05-08-2006 09:17 PM
Re: Who is using printer?
Check the logfile to check the print requests details:
/var/adm/lp/log
2. For jetadmin printer:
# netstat -n | grep 9100
And you will get the IP , who is printing currently,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 11:22 PM
05-08-2006 11:22 PM
SolutionWhen you say "nonsense" printouts, are these pages of random characters? Users may be trying to print binary files like programs. If education does not work, you'll have to alias the lp command to a non-working state for those users -- or take away their shell and replace it with a menu script without printing capability.
If the printer is on the network, you options are more complex. If the printer is on a PC server or a non-HP network card, you'll have to look at add-on applications to monitor and log the activities. If the printer is an HP network card, anyone on the network can print to the printer. In that case, you can tell the LAN card to reject any jobs from selected computers (not by user name, just by IP address of the sender).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 11:46 PM
05-08-2006 11:46 PM
Re: Who is using printer?
Your answere is gr8.
My printer is on the network, that too is not only HP-UX network. It is a conbination LINUX, WINDIWS etc.
But, how can set LAN card to reject any jobs from selected computers.
Thanks & regards,
Prasad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:42 AM
05-09-2006 12:42 AM
Re: Who is using printer?
You need to set the rules for this purpose. IPFilters may help you.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 01:59 AM
05-09-2006 01:59 AM
Re: Who is using printer?
So if multiple users login to your Linux, PCs or HP-UX systems, you still have the problem. About all you can do then is to enable the trailing separator page in the JetDirect card (called a banner page). It prints a simple text page with a few lines about the source of the printout. Remember that it is at the end of the job and only works with HP JetDirect cards. You can telnet to almost all JetDirect cards to set the option, or for newer cards, they have a built-in web page for config.
Bill Hassell, sysadmin