1846973 Members
4601 Online
110257 Solutions
New Discussion

Re: printer usage

 
SOLVED
Go to solution
Matt Shaffer_1
Regular Advisor

printer usage

running hpux 11.11. i have 180+ printers setup on this box. what can i do to find the last time a printer was printed to?

thanks.
4 REPLIES 4
Tim Nelson
Honored Contributor

Re: printer usage

Other than reviewing /var/adm/lp/log if it has not been cleared/restarted I can think of no other way.
(maybe I will learn something new today )
OldSchool
Honored Contributor
Solution

Re: printer usage

ok, its probably not bulletproof, but

cd /var/spool/lp/request and do
ls -ltad *

should show you which print queue got touched and when....

depending upon your needs, it might be accurate enough. For example, I've used it to identify printers no longer in use.
Matt Shaffer_1
Regular Advisor

Re: printer usage

thanks guys. that last suggestion worked well enough for me!
Matt Shaffer_1
Regular Advisor

Re: printer usage

thanks