Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing emails through vbscript

Status
Not open for further replies.

Strahan

MIS
Jan 9, 2004
20
US
Hi. I wrote an application to allow printing from my companies Blackberries. You forward the email from the BB to a special email addy, my script then pops that mailbox and when it sees a msg it prints it. The first line of the email tells it where to print to. Problem is, this works great for straight text messages but when someone has an attachment it prints all the uuencoded junk and HTML just prints the HTML code. I was thinking I could save the email to a .eml then have an Outlook instance print it, but one I don't know how to have Outlook print (but i'm sure I can find it in a search) and once I do know I need to know how to tell it what printer to use instead of default. Also would like to save the email as an .htm and print it with IE, again being able to tell it where to print to. I see some examples on how to use Office objects to print, but no example on how to redirect the output to the appropriate printer.

Thanks alot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top