How to print from a console application in visual basic.net?
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.
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
精彩评论