how to intercept/detect a print job?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sky_Line
Posted On:   Monday, July 2, 2007 10:30 PM

My organization has about 5 network printers and copiers to which a computer can print. What I'd like to do is build, if possible, a simple JAVA program to intercept what the users are printing (from any application) and capture certain information about the print jobs before it gets sent off to the specified printer. For example, when a user selects print from the menu in MS Word, and after the Ok button is pressed on the printers dialog window, have my program then pop up asking the user to fill in specific information (who they want to charge for the print job...this is typically an internal billing code, etc.). The program would have to capture the name/driver of the printer users are printing to, the document they printed, number of p   More>>

My organization has about 5 network printers and copiers to which a computer can print. What I'd like to do is build, if possible, a simple JAVA program to intercept what the users are printing (from any application) and capture certain information about the print jobs before it gets sent off to the specified printer.

For example, when a user selects print from the menu in MS Word, and after the Ok button is pressed on the printers dialog window, have my program then pop up asking the user to fill in specific information (who they want to charge for the print job...this is typically an internal billing code, etc.).

The program would have to capture the name/driver of the printer users are printing to, the document they printed, number of pages, number of copies, date/time, etc.

Is/are there Windows API's to help in my programming of this application? I've been, unsuccessfully, web sites, etc. on how to intercept/detect a print job. Any help would be greatly appreciated!

Thanks ahead of time...

   <<Less
About | Sitemap | Contact