getting the handle to a printer
-
*How to monitor a printer queue from C# *Get a handle to the printer you want to monitor ==================================================================== HI Experts, how are you .hope you all will be fine.. i have started that i have to work on C#.well sir my project in which my main motto is to pause,cancel, and delting a job.. i have done the RND of this topics and methods used in the project... Well sir now i am in the way that i have to know about the event handlers,event watcher for the printjobs or printers.In other words that when the user give the command of printjob then this job is watched by the event watcher and the information of printer i.e printer handler is given to the the event handler like jobid and according to this watching information of job the users jobs should be pause,cancel or delete the job.I have to handle with event wathcer , not from the button of the form,,because the job should be captured as before the printer starts and the action i.e performed pause or delete or resume .Now i am on the phase that i have to start working on handlers ,needs yours help.Waiting for yours reply . With Regards, Ishtiaq Ahmed