1833792 Members
2530 Online
110063 Solutions
New Discussion

Print Queue

 
Ryan Ma
Frequent Advisor

Print Queue

I would like to keep the record of print job including what is printed and who submitted the print job.

Is there any log of this?
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: Print Queue

As far as my knowledge goes, you can find who submitted print jobs before by checking /var/adm/lp/log file. It doesn't give us what was printed.

You can use -v or -a options with lpsched. -v gives more log while -a dumps ana.log file that is mainly for checking the printer response.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jagadeesh Kumar
Advisor

Re: Print Queue

Ryan,

LP spooler can be started in logging more thru' SAM. As stated earlier it does not give what was printed.

A script can be written which has to be used for printing. The script can log the detail and then call the 'lp' command. ( not helpful if lp is directly used )

Hope this helps
Jagadeesh
Sundar_7
Honored Contributor

Re: Print Queue


Check out

# man lpana

Learn What to do ,How to do and more importantly When to do ?