monitor printer

hi,I want to get user's printer usage details from the printer queue for monitoring purpose.....can some one give me some idea
[141 byte] By [whitecoolnkcsa] at [2007-10-2 11:50:24]
# 1
[code]tinky-winky% lpquotalpquota for someuser:Total pages printed: 957Pages printed: 0Quota: 500Limit: 600tinky-winky%[/quote
_bensmytha at 2007-7-13 6:23:25 > top of Java-index,Security,Other Security APIs, Tools, and Issues...