在Windows中检测应用程序C ++中的打印 [英] Detecting printing in windows form application C++

查看:71
本文介绍了在Windows中检测应用程序C ++中的打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有人知道如何甚至为我生成以下代码:我有一个程序,当用户通过共享打印任何其他程序(如Microsoft Word)中的任何页面时,我想要检测该程序打印机,然后在远程服务器计算机中使用计费过程中的页数。

我正在使用visual C ++ 2010.我对C ++有一些了解。我目前正在处理的程序是Windows窗体应用程序,我在MFC时是空白。

I would like anyone who has an idea of how to or even generate a code for me for the following:I have a program that I want to detect when a user prints any page in any other program like microsoft word through a shared printer and then use the number of pages in the billing process in a remote server computer.
I am using visual C++ 2010. I have some little knowledge in C++.The program I am currently working on is a windows forms application and i am blank when it comes to MFC.

推荐答案

参见 http://msdn.microsoft.com/en-us/library/windows/desktop/dd162861(v = vs.85)的.aspx #printer_change_notification_functions [ ^ ]。


这篇关于在Windows中检测应用程序C ++中的打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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