Reputation: 15
I was wondering if someone could tell me how to print text from a console application to the default printer. Any help would be much appreciated.
Upvotes: 1
Views: 4797
Reputation: 1307
PrintDocument Class http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx Example is near bottom. Make sure you click the VB Tab-button near the code.
Also Printing in Visual Basic .NET http://visualbasic.about.com/od/usingvbnet/a/printvb2005.htm
Upvotes: 1