如何控制其他程序打印的页数? [英] how to control the number of pages printed by another programs?

查看:91
本文介绍了如何控制其他程序打印的页数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何控制其他程序打印的页数?

其他程序如:word和IE,...

解决方案

你不能。阻止其他程序打印太多的唯一方法是拥有自己的打印机驱动程序,一次不能接受超过XXX页。可能有一个钩子允许你在操作系统和所有打印机驱动程序之间写一个层,但我会感到惊讶,我想你能做的最好的事情就是编写自己的驱动程序然后调用另一个驱动程序,仅传递给它xxx页。


我无法得到你的确切问题但是关于控制要打印的页面..

可能你可以控制的数量页面,但它可以实现为中间过程,在完成打印过程之前,它会调用程序,它将控制文档页面。



你可以看到有关这方面的详细信息以下链接存在问题...

http://www.c-sharpcorner.com/UploadFile/dbeniwal321/printing-multiple-pages-in-C-Sharp/ [ ^

how to control the number of pages printed by other programs?
other program like: word and IE , ...

解决方案

You can't. The only way to stop other programs from printing too much, is to have your own printer driver that won't accept more than XXX pages at a time. There may be a hook that allows you to write a layer between the OS and all printer drivers, but I'd be surprised, I'd imagine the best you could do is write your own driver that then calls another driver, passing on only xxx pages.


I am unable to get the exact problem of yours but regarding controlling the pages to be printed..
May be you can control the number of pages but it can be implemented as intermediate process, before going through the printing process it invokes the program, which will control the document pages .

You can see details regarding this problem on following link...
http://www.c-sharpcorner.com/UploadFile/dbeniwal321/printing-multiple-pages-in-C-Sharp/[^]


这篇关于如何控制其他程序打印的页数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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