Welcome to Sign in | Join | Help
in
Home Blog Forums

need to send mail from print server

Last post 04-16-2008, 4:36 PM by rodney.buike. 4 replies.

Sort Posts: Previous Next
  •  03-13-2008, 9:40 PM 1748

    need to send mail from print server

    hi, i need a script which can send mail to a particular group(mail id's) or a single mail id regarding the usage of printer

    sript should send a print if the number of papers crosses 30 pages, i need to send a mail to the print requester and to our monitoring person.

    Pls let me know ,

    thanks in advance......

  •  03-14-2008, 11:30 AM 1752 in reply to 1748

    Re: need to send mail from print server

    What have you got so far ?
  •  03-30-2008, 8:57 AM 1805 in reply to 1752

    Re: need to send mail from print server

    Ah the emailing part is easy.   There was a vbscript for that on the internet.  We use it to email backup logs from NTBACKUP.  Even allows you to point to the SMTP server whether it's localhost, FQDN or a real IP

     A quick search on the internet yielded this example.

    http://www.example-code.com/vbscript/smtp_simpleSend.asp

     How to tell when they hit that 30 page limit is not in my scope however.   Anybody else got the missing piece?

     


    Well all else fails, make an offering to the computer gods. Preferably in small unmarked bills.
  •  04-14-2008, 1:12 PM 1859 in reply to 1748

    Re: need to send mail from print server

    Still looking for  a solution?  I can see a few different possiblities:

    1. Turning up logging on the print server.  I'm not sure if the number of pages would get written to events.

    2. Have something watch the print queue and report back if the number exceeds X.

    #1 would likely be easiest because reading from the Event Viewer is relatively easy.  #2 seems to require some complicated Win32 API calls.

    Marco

  •  04-16-2008, 4:36 PM 1861 in reply to 1859

    Re: need to send mail from print server

    You'll find some help here on setting up logging for printers.

    http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fnbe_prn_carw.mspx?mfr=true

     

View as RSS news feed in XML


All postings are provided "AS IS" with no warranties, and confer no rights.
Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.