在 .NET 中编写虚拟打印机 [英] Writing a Virtual Printer in .NET
问题描述
我希望创建一个将数据传递到我的 .NET 应用程序的虚拟打印机.然后我想创建一个安装程序来安装打印机和 .NET 应用程序.能够用 C# 编写所有内容真是太好了,但我有一种感觉,这需要将打印机驱动程序编写为非托管代码.有谁知道一个相当干净的教程或如何做到这一点的例子?
I'm looking to create a virtual printer that passes data to my .NET application. I want to then create an installer that installs both the printer and the .NET application. It would we really nice to be able to write it all in C#, but I have a feeling that this will require a printer driver to be written is unmanaged code. Does anyone know of a fairly clean tutorial or example of how to do this?
推荐答案
访问 http://www.printerplusplus.com一>.它是开源的 .NET 虚拟打印机.它为您提供了一个安装程序和一个 .NET 类,用于编写处理打印机数据"的代码.
Visit http://www.printerplusplus.com. It is open source .NET virtual printer. It gives you an installer and a .NET class for writing code to process your "printer data".
这篇关于在 .NET 中编写虚拟打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!