Pl有助于从系统中获取打印总页数的信息 [英] Pl help to get information of total pages print from a system

查看:68
本文介绍了Pl有助于从系统中获取打印总页数的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加一个显示今天打印页数的选项&也可以选择月份日期。



我尝试过:



我制作一个调用默认打印机但无法获得特定系统打印总数的代码

I want to add one option which display number of pages print today & also by selecting date for month.

What I have tried:

I make a code which calls default printer but unable to get total count of print in particular system

推荐答案

据我所知,没有简单的方式在VB中执行此操作:但是...您可以记录它然后读取日志:打印页数的简便方法 [ ^ ] - 日志文件将是制表符分隔值,因此大多数CSV读者只需更改字段分隔符即可为您提供信息字符。





在Win10中,这是一个稍微不同的过程:从Cortana运行计算机管理,然后是系统工具, ,Performance ... Data Collector Sets ... User Defined。右键单击新建...数据收集集...手动创建并按照那里的对话框进行操作。

[/ edit]
As far as I know, there is no "simple" way to do this in VB: but ... you could log it and then read the log: An Easy Way to Count Pages Printed[^] - the log file will be tab separated values, so most CSV readers shoud give you the info with just a change to the field separator character.

[edit]
In Win10, it's a slightly different process: Run Computer Management from Cortana, Then "System Tools ,,, Performance ... Data Collector Sets ... User Defined". Right click, "New ... Data Collection Set" ... "Create Manually" and follow the dialogs from there.
[/edit]


这篇关于Pl有助于从系统中获取打印总页数的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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