Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to control the number of pages printed by other programs?
other program like: word and IE , ...
Posted
Updated 4-Jun-13 10:22am
v2
Comments
Ariana Bond 4-Jun-13 16:38pm    
Please explain situation properly you are in.
ZurdoDev 4-Jun-13 16:47pm    
You would have to control the printer driver, I suppose.

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/[^]
 
Share this answer
 
v2
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900