如何用C#获取打印作业状态 [英] How to get Print Job Status using C#

查看:121
本文介绍了如何用C#获取打印作业状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过很多链接1 。我是在C#检查作业状态链接能够打印文档,但我没有怎么弄支持它的地位?

I went through many Link1 Links for checking Job Status in C#.I am able to Print a document but I did not get how to get back its status?

其实我是想获得确认从打印机上的文件是否已成功打印或不。此外,我也有兴趣,如果我可以从打印机收到错误信号,就像如果卡纸。

I actually want to get confirmation from the printer whether the document was successfully printed or not. Moreover, I am also interested if I can get error signal from printer, like if paper is jammed.

我的打印机名称和文件名,我要打发了Print.Has任何人在这方面做了一些RND或能指导我一些资源?

I have the Printer Name and Document name which I am sending for Print.Has anybody done some RnD in this area or can guide me to some resource?

最良好的祝愿, 巴桑塔Padhi

Best Wishes, Basanta Padhi

推荐答案

有样品在线...谷歌送PJL在C#中的命令(PJL代表打印机作业语言)

there are samples online... google "sending PJL commands in c#" (PJL stands for printer job language)

$ C $的CProject 读取数据直接从打印机是一篇好文/样品下手

codeproject Reading Data Directly from the Printer is a nice article/sample to start with

这篇关于如何用C#获取打印作业状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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