Operating System - HP-UX
1830027 Members
2440 Online
109998 Solutions
New Discussion

timestamp of last print job sent to a printer

 
SOLVED
Go to solution
John Jimenez
Super Advisor

timestamp of last print job sent to a printer

The application we run on top of the O/S (hp UX 11.11) has a 2 digit naming limitation plus start with either an "l" or "p". I am close to using all the combinations up.

Does anyone know of a way to figure out what printers are not being used on UNIX? Something that will show me when the last time something was sent to it?

John
Hustle Makes things happen
3 REPLIES 3
John Jimenez
Super Advisor

Re: timestamp of last print job sent to a printer

I did find this in "hppi" that might work
8) Display operational and protocol statistics

Total Bytes Received: 1313127671 (since power-on or reconfig)
Total Bytes Sent : 5925 (since power-on or reconfig)
Hustle Makes things happen
RAC_1
Honored Contributor
Solution

Re: timestamp of last print job sent to a printer

Check files in following dirs.

/var/spool/lp
And log file.
There is no substitute to HARDWORK
John Jimenez
Super Advisor

Re: timestamp of last print job sent to a printer

Thanks,
This file worked great.
Luckily I had not made any printer changes lately and my /var/adm/lp/log went back to January. I was able to see which printer had not been used since then.
Hustle Makes things happen