RE: [ActiveDir] Getting print info from event log
Use a script to interrogate the log using WMI - this is part of the script I use to dump the data to a SQL database; this just prints it on screen. Steve sStart=2004111810.00+060 sEnd= 2004111811.00+060 sServer=tconwl6 sSQL=SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'system' and eventcode=10 and timegenerated=' sStart ' and timeGenerated ' sEnd ' Set wbemobjectset = GetObject(winmgmts:\\ sServer).ExecQuery(sSQL) For Each wbemObject In wbemObjectSet sDetails=wbemObject.Message iOwnPos=instr(sDetails,owned by) sDoc=left(sDetails,iOwnPos-1) iSpacePos=instr(iOwnPos+10,sDetails, ) sUser=mid(sDetails,iOwnPos+9,iSpacePos-(iOwnPos+9)) iPrintedOnPos=instr(sDetails,printed on)+11 iViaPos=instr(iPrintedOnPos,sDetails,via port)-1 sPrinterName=mid(sDetails,iPrintedOnPos,iViaPos-iPrintedOnPos) iPagesPos=instr(sDetails,pages printed)+15 iPages=mid(sDetails,iPagesPos) wscript.echo sUser, sDoc, iPages Next -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: 15 October 2004 22:56 To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
I'm using dumpevt in combination with Windows Grep (www.wingrep.com). Makes event log parsing easy... ** Charlie Kaiser MCSE, CCNA Systems Engineer Essex Credit / Brickwalk 510 595 5083 ** -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry Sent: Friday, October 15, 2004 8:46 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log dumpevt from: http://www.somarsoft.com/ It's simple and it's free! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 4:35 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log It is a little tedious to set up but it's way cheaper than the commercial products for print reporting :-) Maybe someone else has another ideagood luck in your quest -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 4:12 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Sorry Bob not really enjoying this log parser :( anything else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=en familyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
download secops.exe (http://www.microsoft.com/downloads/details.aspx?displaylang=enFamilyID=9989 D151-5C55-4BD3-A9D2-B95A15C73E92). It contains eventcombMT which should serve you well. Sincerely, Dèjì Akómöláfé, MCSE MCSA MCP+I Microsoft MVP - Directory Services www.readymaids.com - we know IT www.akomolafe.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon From: [EMAIL PROTECTED] on behalf of Aaron Visser Sent: Fri 10/15/2004 4:11 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Sorry Bob not really enjoying this log parser :( anything else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=enfamilyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=enfamilyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
Sorry Bob not really enjoying this log parser :( anything else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=enfamilyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
It is a little tedious to set up but it's way cheaper than the commercial products for print reporting :-) Maybe someone else has another ideagood luck in your quest -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 4:12 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Sorry Bob not really enjoying this log parser :( anything else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=enfamilyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] Getting print info from event log
dumpevt from: http://www.somarsoft.com/ It's simple and it's free! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 4:35 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log It is a little tedious to set up but it's way cheaper than the commercial products for print reporting :-) Maybe someone else has another ideagood luck in your quest -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 4:12 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Sorry Bob not really enjoying this log parser :( anything else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Friday, October 15, 2004 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Getting print info from event log Look into logparser.exe to extract the events/fields you want. http://www.microsoft.com/downloads/details.aspx?displaylang=enfamilyid= 8cde4028-e247-45be-bab9-ac851fc166a4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Visser Sent: Friday, October 15, 2004 2:56 PM To: ActiveDir Subject: [ActiveDir] Getting print info from event log Does anyone have or know anyway to pull print info out of the System event logs so that it can be easily reviewed Example I need to know who, how many pages now I can go thru each event and record this info by hand but it seems rather tedious and that there should be an easier way to gather this info. Any help is appreciated, Thanks, Aaron Visser List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/