Click here to Skip to main content
15,879,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to monitor the print queue (before it gets to the print queue) and make sure that a particular user is only printing specified number of copy of a document? I want to find out how many copies of printout particular user had taken to maintain a record of this.How can i do that using Java Code or any other programing language...

Thanks In Advance...
Posted

1 solution

Have you read the following article?
Monitor jobs in a printer queue (.NET)[^]
 
Share this answer
 
Comments
PankajGSingh 9-Jul-14 3:12am    
@Ravi:- Thanks is there any way to do it by using Java API's..?
[no name] 9-Jul-14 3:20am    
I guess there may not be any, because even though we might be able to access the printer spool using a wrapper, it will be really hard to trig the code at the correct time (before it gets to the print queue)
PankajGSingh 9-Jul-14 3:32am    
Currently,I am able to find machine's name from which I am printing, Size of the file, file's name, user's details and able to read contents of file in byte stream through Java code, but I am not able to find total number of copies to be print...I have tried GhostScript and RedMon as well to perform the task...

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