我们可以从打印机获取是否在C#代码中打印pdf文件的状态? [英] can we get status from printer whether pdf file is printed or not in C# code ?

查看:250
本文介绍了我们可以从打印机获取是否在C#代码中打印pdf文件的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在生成PDF,一次打印多张运费单。如果pdf打印成功,我们需要手动将打印状态更改为true。

我的客户端不想手动更改打印状态。他们希望我们根据pdf打印状态自动更改状态。



我们怎么知道PDF是否打印?

我们可以从打印机获取状态,是否打印pdf?

Hi all,

I am generating PDF for printing multiple shipping bills at a time. if pdf is printed successfully we need to change printing status to true manually.
My client don't want to change printing status manually . they wants us to change status automatically, based on pdf print status.

How can we know PDF is printed or not ?
can we get status from printer , whether pdf is printed or not ?

推荐答案

看看这里:

如何:从Visual Basic确定打印机状态和打印作业状态 [ ^ ]

如何:远程调查打印机的状态 [ ^ ]

阅读数据直接来自打印机 [ ^ ]

http://stackoverflow.com/questions/6954929/how-to-get-print-job- status-using-c-sharp [ ^ ]
Have a look here:
HOW TO: Determine Printer Status and Print Job Status from Visual Basic [^]
How to: Remotely Survey the Status of Printers[^]
Reading Data Directly from the Printer[^]
http://stackoverflow.com/questions/6954929/how-to-get-print-job-status-using-c-sharp[^]


这篇关于我们可以从打印机获取是否在C#代码中打印pdf文件的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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