使用C#.net执行基于Dos的打印 [英] Dos based printing using C#.net

查看:82
本文介绍了使用C#.net执行基于Dos的打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Dotmatrix打印机EPSON来打印报告,并且我需要如何在不使用crystalReport和打印对话框的情况下打印报告,即我想要在C#.net中基于DOS的打印代码。 ..

i m using Dotmatrix printer EPSON for printing the reports, and i need the of how to print the reports without using crystalReport and print dialog, i.e. i want the code for DOS based printing in C#.net.........

推荐答案

我知道一种非常古老而肮脏的方式。只需将LPT1(或您正在使用的打印机端口)作为流打开并输出字符。

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.

这篇关于使用C#.net执行基于Dos的打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆