计算计算机中打印页数的函数 [英] Function that counts number of printed pages in a computer

查看:177
本文介绍了计算计算机中打印页数的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何功能可以帮助我计算我在计算机上打印的页数?

解决方案

您可以在模块级别使用pagenumber变量并将其递增printpage事件。

printdocument控件的printpage事件。这是一个如何做的链接。



http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage(VS.80)的.aspx [ ^ ]

is there any function that helps me count number of pages i printed in a computer?

解决方案

You can use a pagenumber variable at module level and increment it in printpage event.
Printpage event of the printdocument control. here is a link on how to do it.

http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage(VS.80).aspx[^]


这篇关于计算计算机中打印页数的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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