Jump to content
Sign in to follow this  
corvias

Print Queue Page Counter

Recommended Posts

corvias

Hi All,

I am in charge of a small network of public use PC's at a library. I need to write a small app that runs in the background and pops up a message when the user prints informing them of the number of pages they are printing, and the cost of the job, based on a preset amount (10 cents).

For example, Joe Smith sits down at a PC and when he prints 4 copies of a 2 page doc, the following message would appear:

"The job you are printing is 8 pages long and would normally cost you $0.80 at the local copy shop. Are you sure you wish to print?"

Basically, the goal here is not to charge people, but to just make them a bit more mindful of how much paper they're using. I can handle the easy stuff, like the math and messages, but how do I go about getting the print job info, and stopping the print process until the user clicks "OK". Does this have to be done through a COM object or something? Even just a nudge in the right direction would be wonderful!

Thank You!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.