如何将打印机数据保存为文本/图像文件 [英] How to save printer data as text / image file

查看:109
本文介绍了如何将打印机数据保存为文本/图像文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows中,如果有任何数据发送到打印机,则需要将其作为文本/图像文件捕获。此文件需要保存在本地硬盘中。



这可以通过监控打印机假脱机来实现吗?或任何解决方案?有人请帮我使用VB.NET或C#。



谢谢。

In Windows, If any data sent to printer, that needs to be captured as text / image file. This file needs to be saved in local hard drive.

Is this can be achieved by monitoring printer spool? or any solution? Someone please help me using VB.NET or C#.

Thanks.

推荐答案

http://stackoverflow.com/questions/3645120/c-sharp -how-to-monitor-print-job-using-winspool-drv试试这个。
http://stackoverflow.com/questions/3645120/c-sharp-how-to-monitor-print-job-using-winspool-drv try this.


这篇关于如何将打印机数据保存为文本/图像文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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