开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜