Dos based printing using C#.net

只谈情不闲聊 提交于 2019-12-04 12:18:48

I know a very old and dirty way. Just open LPT1 (or the printer port you are using) as a stream and output the characters.

Does your printer appear in windows? In other words, can your print to it from notepad? Then you can still use the System.Drawing.Printing namespace and send data to your printer that way.

This is if you need to print anything other than character data - otherwise, do like tekBlues said.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!