I am asking this question for a friend that has a problem to complete for his VB class. He needs to write code that allows him to print on his instructors printer using either SMTP or IP. An example of the code would be greatly appreciated, he has tried everything he can think of and had no luck.

thanks,
Cady